I'm not sure quite what you mean. If you're going to use elements that belong to the std namespace(like std::string for example), you'll need to either type it the way you did, or by prefixing it like I did.
Noone will be able to help you to write code that will draw a graphical image without knowing what graphics lib you're using:)