Previously Dale E Martin wrote:
> does not compile with g++-3.0 - I get the following error:
> ~/test/c++> g++-3.0 simple-problem-g++3.cpp -o simple-problem-g++3
> simple-problem-g++3.cpp:9: parse error before `)' token

It doesn't now string, since that is in the std namespace. Either
insert "using namespace std;" or use std::string.

Wichert (who is very happy g++ finally starts doing namespaces).

-- 
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| [EMAIL PROTECTED]                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |


Reply via email to