help-gplusplus
[Top][All Lists]
Advanced

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

Re: 2.95.3 vs 3.3.2 - Help


From: Prasad
Subject: Re: 2.95.3 vs 3.3.2 - Help
Date: 20 Sep 2006 20:37:51 -0700
User-agent: G2/1.0

Thanks Floyd.

I really appreciate your help.

red floyd wrote:
> Prasad wrote:
> > Hi Floyd,
> >
> >
> > Now it complains about less in the same line.
> >
> >
> > Also, it also complains about the below line,
> >
> >
> > list<unsigned int> getEntries (long  secs, int remove=1);
> >
> >
>
> Anything in the standard library (STL) is in namespace std.
>
> std::list<>
> std::less<>
>
> This also goes for cin, cout, endl, etc...
>
> If you don't want to type out std::, then in your cpp file (not your h
> file), after all includes, put the line:
> 
> using namespace std;



reply via email to

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