[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling with gcc



        Hello.  I am not sure what is wrong so I will just tell what happened.
I wrote a litte C++ with the following preprocessor directive at the top of
the file:

#include <iostream>

When I went to compile (gcc prog.C) I got the error message:

prog.C:1:iostream:No such file or directory.

I then tried <iostream.h> and I then tried including the entire path.  The
compiler is not finding the library files.  Also note that I did this as the
root.  What should I be looking for?  I assume I just have not set it up
right?  I don't know where to start?



--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: