I\'m trying to print characters in the console at specified coordinates. Up to now I have been using the very ugly printf(\"\\033[%d;%dH%s\\n\", 2, 2, \"str\");
printf(\"\\033[%d;%dH%s\\n\", 2, 2, \"str\");
Curses is what you are looking for.