I use Dev-C++ compiler in Windows, and I want to use the clear screen instruction.
I've tried the <conio.h> getchar(); and the <stdlib.h> system("clear"); instructions and doesn't work.
More specific, the getchar(); doesn't work because the compiler doesn't know the instruction and the system("clear"); at the time of compiling it's all right, but when I open the .exe appears a message that doesn't what to do with that instruction, the rest of the program works but it's only that part.
I didnt really get your question but ill try my best to help you :p
I think you're trying to clear the console?
In that case use: cout << string( 100, '\n' );
string(100, '\n') is just calling the constructor of string 100 times containing '\n' (new line)
I have no idea what you mean with your 2nd question
Sorry im not very good at explaining :p
Yeahh it prints out a new line 100 times
And there is no real way to clear the console so thats just a work around i guess
That is what you meant right ?