A set of functions for creating a console and reading/writing it. Example code included.

Functions
AllocConsole - Creates the console.
FreeConsole - Destroys the console.
ConsoleInput - Gets a line of input entered in the console. Waits until the return key is pressed.
WriteConsole - Writes a string of text to the console. Supports \n and \r for newline and carriage return, respectively.
SetConsoleCursorPosition - Sets the cursor position. The coordinates of the top left of the console are (0, 0).
ClearConsole - Erases everything in the console and resets the cursor position.