Re: C++ Text based game..
C++ does not have a default means to directly access screen coordinates or to display text at a specific location.
The Windows API does have functions to more directly control a console window, which among others includes querying the window size, the buffer size, changing both, accessing/reading/writing characters at a specific x,y coordinate, changing color and color background. But of course, this will make your game windows specific (it won't be recompilable and runnable for a linux machine).
An alternative approach is to 'redraw' the entire playing field on every change, but that has some visual issues of it's own.
depending on what you really want to do, it may be simpler even to write your own simple GUI based application.