Search:

Type: Posts; User: MadCow108; Keyword(s):

Search: Search took 0.05 seconds.

  1. Replies
    15
    Views
    1,167

    Re: Can't compile code in linux

    this is the advantage of the command line.
    IDE's hide how the process of building a program actually works.
    Using the command line teaches you a lot about that.

    Of course it can be debatable if...
  2. Replies
    15
    Views
    1,167

    Re: Can't compile code in linux

    unfortunately you're leading him at the wrong track
    the above errors have nothing to do with header files
  3. Replies
    15
    Views
    1,167

    Re: Can't compile code in linux

    A header file won't solve the linking problem
    undefined reference is an error in the linking stage, not the compile stage.

    What the compiler did in Sim's line is following:
    gcc -c math.cpp -o...
Results 1 to 3 of 3