View Full Version : directory of C++ header files?

February 5th, 2008, 06:32 AM
Hi! I am just starting very beginning programming in C++. I am learning about header files, and I am just wondering where the standard C++ header files are in Ubuntu 7.10, just as a curiosity and as a better way to become more familiar with Linux.

I've already gone through the programmer's initiation ritual of writing, compiling, building, and executing the "Hello World" program. :) I've done it through installing build-essential and entering the command g++ 'file-name' to compile and build, and inputting ./a.out in the terminal to execute the program from the temporary and reusable executable a.out built in the same directory as my source file.


February 5th, 2008, 06:34 AM
/usr/include for all headers. There's a directory in there with your c++ stuff too.

February 5th, 2008, 06:34 AM

Thread moved.

February 5th, 2008, 06:37 AM
Thank you very much guys! Wow, those were quick responses!