Include problem

2004-01-20 Thread Piotr Kozieradzki
Submitter-Id:net Originator: Organization:Warsaw Uniwersity Confidential:no Synopsis:Include problem Severity:serious Priority:medium Category:c++ Class:rejects-legal Release:3.3.2 (Debian) (Debian testing/unstable) Enviroment: System Linux kasandra 2.4.20

Include problem

2004-01-20 Thread Piotr Kozieradzki
Submitter-Id:net Originator: Organization:Warsaw Uniwersity Confidential:no Synopsis:Include problem Severity:serious Priority:medium Category: c++ Class:rejects-legal Release:3.3.2 (Debian) (Debian testing/unstable) Enviroment: System Linux kasandra 2.4.20

Re: Include problem

2004-01-20 Thread Kevin B. McCarty
Modern C++ requires namespaces... Either put using namespace std; right after the #include statement, or else make the modification noted below: #include string int main(){ string aaa; ^^ This should be std::string return 0; } regards, -- Kevin B. McCarty [EMAIL PROTECTED]