This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help Needed


There is one other subtle point than can come up 
here, and that is if you are compiling a C++ program,
in general, the command you need to invoke is g++,
not gcc, i.e.

g++ waynesadolt.cpp

or whatever variant you are using for the program.
g++ does some operations behind the scenes to deal with
the program being a c++ program.

Here is a decent link that will bring you up to
speed on standard header notation in C++:

http://www.cplusplus.com/doc/ansi/hfiles.html

Hope my babbling has helped...

Wayne Keen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]