C++ Namespaces:
Should use std namespace for cout etc eg:
std::cout << "Output via std::cout" << std::endl;
and not
cout << "Regular cout output" << endl;
Namespaces can be created by:
namespace simon { class simonsclass { }; void simonsfunction { } }
Monday, February 14, 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment