#include <junk> How to add

  • jalfor
    1st Jun 2011 Member 0 Permalink
    How do I add more #include files to code::blocks on linux because O cannot figure it out. also, I'm new to coding in C++, I've been going for about a week and all I know is stuff like functions, input and output and lots of little things that I won't bore you with. anyway, I'm trying to compile TPT and it hits the first include file and says. NO CAN'T INCLUDE JUNK NOT FOUND.
  • Neospector
    1st Jun 2011 Member 0 Permalink
    Well, in the file you want it in you need to write #include [File Name]
    You'll also need to put the file into the project, if it's anything like Visual studios.
  • mniip
    1st Jun 2011 Developer 0 Permalink
    i tried to make new file in editor... cant.
    then i made new file with .h in folder and Drag&Dropped it to editor
  • jalfor
    1st Jun 2011 Member 0 Permalink
    I had a look but I can't find where the directory is that linux mint stores the files in.
  • vanquish349
    1st Jun 2011 Member 0 Permalink
    @jalfor (View Post)
    so you are using linux. if so you can just use the makefile
  • jalfor
    1st Jun 2011 Member 0 Permalink
    what's a make file?
  • vanquish349
    1st Jun 2011 Member 0 Permalink
    @jalfor (View Post)
    just install the things that in wiki
    here
    https://powdertoy.co.uk/Wiki.html?id=building_in_linux
    and then open terminal and change the dirrectory to where the source is then run
    make powder-sse
  • TheWiseEyes
    1st Jun 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • vanquish349
    1st Jun 2011 Member 0 Permalink
    @TheWiseEyes (View Post)
    yes, i know you can but it is still pretty hard to do if you have never done it before
  • TheWiseEyes
    1st Jun 2011 Banned 0 Permalink
    This post is hidden because the user is banned