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
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]
3 matches
Mail list logo