Hello all, I am finally nearing the end of my first real program and I have this piece of code.
cout << "\x1b[2J\x1b[H" << flush;
I went searching the internet after reading the sticky about using system("cls") and being sucked into os dependent code. This code imo is possibly causeing the only bug in my software atm so im just curious to what it exactly does. I'm also using Code::Blocks if that matters.
I think I've seen that before. It's a really unreliable way to clear the screen in some system (I can't remember what right now). You'd do well to remove it without hesitation.