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;
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus