开发者

Drawing with c++ visual studio 2010 beta?

开发者 https://www.devze.com 2022-12-12 20:47 出处:网络
please t开发者_Go百科ell me how to draw any shape (a small square e.g) using visual studio 2010 with the c++ language ?

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

精彩评论

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