Hi, I'm trying to change the position where fputc('A', stdout) inserts a char.
I want to insert a char in a specific position in the console screen.
For example:
1 2 3 4 5 6 7 8 9 10 11 12 13
#include <stdio.h>
int main() {
FILE *fp = stdout;
fpos_t pos;
fputc('A', fp);
fgetpos (fp,&pos); // I tried to get the position after insert 'A'
fputc('B', fp);
fsetpos (fp,&pos); // And reload the position here
fputc('C', fp);
return 0;
}