开发者

how to move to location in graphics mode

开发者 https://www.devze.com 2023-01-06 05:46 出处:网络
开发者_Python百科What code do we use to move at a point on the screen in graphics mode(graphics.h)?As in normal we use goto(x,y).Since you don\'t have a choice in the matter, here are some tutorials o
开发者_Python百科

What code do we use to move at a point on the screen in graphics mode(graphics.h)?As in normal we use goto(x,y).


Since you don't have a choice in the matter, here are some tutorials on drawing stuff with graphics.h:

Part 1 Part 2 Part 3


C, as a language, has no graphics mode.


Don't use graphics.h. It is a very old DOS library from Borland C++ (note that its not C either but C++). Instead pick up some thing like OpenGL or some higher-level library such as SDL.

0

精彩评论

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