umm compile it?

We are trying to tell you, start small. Don't jump right into graphics. It is just a bad idea. Learn the language. Countless resources for learning C or C++ are lingering around the internet. You need to understand the language and know how to use a compiler to be able to do these things.