If you want to declare 'name' as a string, you would
do this:
std::string name;
instead of this:
std::string name();
because the second declaration declares a function.
Monday, March 8, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment