Joke Collection Website - Bulletin headlines - How to write a coordinate system in C language

How to write a coordinate system in C language

Represented by (x, 300-y), it means that the abscissa is 300 pixels from the top of the display. In C language, it is usually near the center of the monitor, because VGA appears to be 640*480 in C language. Of course, 300 can be changed, any number will do, depending on the situation.