开发者

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:

  1. Setup the dependencies in your project
  2. Set up the framework for creating the Window
  3. Setup the function call back methods
  4. Use vectors to draw the shapes using basic components of the shapes

Take a look at this OpenGL tutorial in C++.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜