GCC -3.1 problem with header files
Claudio Bley
bley@cs.uni-magdeburg.de
Mon May 27 14:21:00 GMT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Steve" == Steve Ettorre <sme@nycap.rr.com> writes:
Steve> Hi all- I have what I think is probably a stupid error on
Steve> my part, but I could use some help. A simple test code such
Steve> as "test.C":
The STL and all of its members live in namespace `std'. Try this:
#include <iostream>
int main() {
std::cout << "hello" << std::endl;
return 0;
}
You might want to lookup the 'use' and 'use namespace' keywords in you
favourite C++ manual.
Claudio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>
iD8DBQE88qNvTpSishmp0ioRAsp6AJ9nsByDqggmPw35Bn4eCyeOP8nSPACfX0Sf
EPxBGxE5iBhzj9GCcga2XUg=
=6xUF
-----END PGP SIGNATURE-----
More information about the Gcc-help
mailing list