Well, that word helped loads. Searching "console" was not helpful at all with Google, but there are many more results for that. Thanks!
I think the way to do it would be to have 2 text boxes (CreateWindow), one read-only and one to type in. The read only would echo whatever goes into a log file and the write one would handle the commands.