Modern C++ requires namespaces... Either put "using namespace std;" right
after the #include statement, or else make the modification noted below:
#include
int
main(){
string aaa;
^^ This should be std::string
return 0;
}
regards,
--
Kevin B. McCarty <[EMAIL PROTECTED]> Physics
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
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
3 matches
Mail list logo