0

how can we can delete the previous output to see next output

11th Jul 2016, 8:38 AM
Pravendra Jain
Pravendra Jain - avatar
3 odpowiedzi
+ 1
Usually, the console was not designed to allow for that as its concept is that of a virtual teletype writer. Nevertheless, there are control chars in the ASCII charset that might work without using a library like curl. The carriage return char '\r' would be my best guess to try that (assuming you are not on Mac OS).
11th Jul 2016, 9:07 AM
Stefan
Stefan - avatar
0
clrscr();
11th Jul 2016, 9:03 AM
shahrukh syed
shahrukh syed - avatar
0
Use header file #include<conio> and then type clrscr() in the starting of body i.e when opening void main()
11th Jul 2016, 4:43 PM
Rishan Mascarenhas