Drawing with c++ visual studio 2010 beta?
please t开发者_Go百科ell me how to draw any shape (a small square e.g) using visual studio 2010 with the c++ language ? PUT THEM STEP BY STEP PLEASE I don't know what type of file i have to choose nor how to check it out
I think you mean drawing in win32? I would suggest you to check this out: http://www.codeproject.com/KB/GDI/paint_beginner.aspx
I'm assuming that you are requesting to draw with ANSI C++ (non-managed).
With OpenGL you would:
- Setup the dependencies in your project
- Set up the framework for creating the Window
- Setup the function call back methods
- Use vectors to draw the shapes using basic components of the shapes
Take a look at this OpenGL tutorial in C++.
精彩评论