Results 1 to 3 of 3

Thread: c++ terminal compiling problem

  1. #1
    Join Date
    Jan 2013

    Question c++ terminal compiling problem

    hi all
    I'm new in Linux
    i just started coding c++ in Ubuntu , i can build my c++ file using Anjuta but i dont know what should i do to build that in terminal i just test "g++ file.c" and "make file.c" but both respond "iostream.h no such file or directory"
    i don't know how should i tell g++ where to look for the libraries , i mean how should i change the path for searching for libraries .
    as I'm new in terminal pls tell me what to do step by step
    even where can i find those libraires in my computer

  2. #2
    Join Date
    Dec 2012

    Re: c++ terminal compiling problem

    1) install package build-essential
    2) try again c++ source file
    Last edited by vasiliscnisrok; January 14th, 2013 at 07:46 AM.

  3. #3
    Join Date
    Apr 2012

    Re: c++ terminal compiling problem

    you should probably be using <iostream> not <iostream.h>


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts