0

Hou to clear the screen while running the code?

I put clrscr() ; but it couldn't clear the computer screen.

14th Sep 2019, 5:18 AM
SAURAV GHOSH
6 Réponses
+ 6
SAURAV GHOSH clrscr() is non standard function that was provided in conio.h header file by Borland. Most of the modern compilers don't support this function. Will you please try using another function. system("clear"); or system("CLS"); And don't forget to include standard library header #include<stdlib.h>
14th Sep 2019, 5:26 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 3
Are you using Turbo C?
14th Sep 2019, 5:20 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
0
Dev c++
14th Sep 2019, 5:21 AM
SAURAV GHOSH
0
Help me
14th Sep 2019, 5:23 AM
SAURAV GHOSH
0
That's not working...
14th Sep 2019, 5:29 AM
SAURAV GHOSH