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.
精彩评论