I need the characters/escape sequences that move the console's cursor position. It would be nice to know the left/right/up/down cursor controls, but if that's not possible, a home (go to the first character of the first line in the console). Thanks in advance.
There aren't any. The Windows console doesn't support such things. See this Wikipedia article for more info.
However, if you just need to return to the beginning of the line, you can just emit a carriage return - try this:
#include <iostream>
using namespace std;
int main() {
cout << "foo" << "\r";
cout << "bar" << "\n";
}
It should display "bar" with no "foo".