ANSI escape sequence

Hi I am programming something and i need to use Hyperterminal to display the output, all is well but i am struggling for the right ANSI escape sequence to position the cursor to the beginning, i have tried various things including the following;

char pos [] = "\x1B[",'0',';','0','H',0;

many thanks

More questions in this forum