This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help Needed
- From: "Dockeen" <dockeen at mchsi dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Sun, 16 Mar 2003 21:04:58 -0600
- Subject: 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