Originally Posted by
mrboolf
Post all the code you tried to compile, please. I can't see any error in this part.
Also, #include <string> , not string.h. And since you include it, why not use std::string name; ?
im compiling it under an older complier, no std