On Wed, Aug 25, 2004 at 07:40:07PM -0700, David Syphers wrote:
> #include <iostream>
> int main()
> cout << "Hello World";
std::cout << "Hello World";
std::cout << "Hello World"
> return 0;
// There's nothing wrong with this, but the Standard says
// that main would return 0 anyway, if you don't say it
Or, as Uli and others pointed out,
use namespace std;
> This happens with <vector> too. However, I can use iostream.h and vector.h,
> though it complains they're deprecated.
This is the same problem:
std::map<std::string, std::string> aMap;
Oh, and try using the c++ front-end instead of g++.
> Thanks for the help,
Cordula's Web. http://www.cordula.ws/
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"