Curses. PDCurses for windows.

Okay, a little more robust of an answer is "cursor control (pixels as you erroniously call them) is not a part of the standard C library and requires external library support." Curses is a standardized library that you can use to acomplish what you're looking for.

And it just so happens that I've written a little tutorial for setting up PDCurses if you have Code::Blocks.