system("cls") problem help

May 30, 2019 at 12:41pm
//rysowanie planszy-----------------------------------------
system("CLS") // oczyszczanie ekranu
//gorna ramka
for(int i=0; i<=szerokosc ; i++/* i=i+i i+=i */)
i cant clear the screen what did i wrong?
ive included cstdlib
May 30, 2019 at 12:55pm
Maybe you're not running on Windows.
Maybe you're not writing a console program.
May 30, 2019 at 1:00pm
Windows 10 pro 64 bit sooo


this thing is called Console Apllication so you know
May 30, 2019 at 1:03pm
Looks like you're missing ; after system("CLS")
May 30, 2019 at 1:06pm
thanks love ya im just idiot
May 30, 2019 at 1:54pm
Right, so what you should have posted was your ACTUAL error message(s).

Along with your actual code - all of it.

Just snipping away at what you deem to be irrelevant and reducing the error messages to "something's wrong" isn't helpful in the least.

Topic archived. No new replies allowed.