can any tell me what this code actually means:
thanks very much in advanceCode:#include <stdio.h> int main(void) { printf("\033c"); printf("\033[2J"); return(0); }
can any tell me what this code actually means:
thanks very much in advanceCode:#include <stdio.h> int main(void) { printf("\033c"); printf("\033[2J"); return(0); }
It uses ANSI escape codes to manipulate the cursor and screen. This only works if you're using something like DOS, or the like, which has ANSI support.
Quzah.
Hope is the first step on the road to disappointment.
does the gcc compiler had an ANSI support with it
It doesn't have anything to do with your compiler. It has to do with the environment the program is run in.
Quzah.
Hope is the first step on the road to disappointment.
thanks very much quzah