help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ in Solaris 10


From: Bernd Strieder
Subject: Re: g++ in Solaris 10
Date: Wed, 14 Jun 2006 12:21:55 +0200
User-agent: KNode/0.10.2

Hello,

forgotten the next show stopper...
> 
> The error message tells it all. #include <X> instead of #include
> <X.h>, for X in { list, vector, map, algorithm, utility, iostream, ...
> }

And put std:: in front of list, vector and everything from the standard
headers.

std::list<int> a;

or

#include ...

using namespace std;  // Once for the rest of the current scope
...
list<int> a;

> 
> Bernd Strieder



reply via email to

[Prev in Thread] Current Thread [Next in Thread]