I have seen old programs that run the Windows console and draw colored pixels in the console window to produce a low-level graphic interface. [1] How is it possible to print pixels to the console instead of text, and [2] how is it possible to get the mouse position in terms of what pixel on the console? [3] Also, how can one determine whether a specific key is pressed?
Thanks.