And how do u use clrscr(); in codeblocks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

And how do u use clrscr(); in codeblocks

when u won't it to blink out then blink in

6th Jul 2017, 6:56 AM
nattii
nattii - avatar
5 Answers
+ 1
To clear the screen you can use system("cls"); Windows system("clear"); Linux To erase last character you can output special '\b' character.
6th Jul 2017, 8:17 AM
soman
0
You should not do it.( But you can ) The screen is similar to a piece of paper in a printer. You cannot go back after the character have been output to the paper.
6th Jul 2017, 8:27 AM
K.C. Leung
K.C. Leung - avatar
0
I don't get it why not
6th Jul 2017, 9:34 AM
nattii
nattii - avatar
0
You may thinking of… If you sent a nude photographs to someone. You can not clear after you press send button.
7th Jul 2017, 1:56 PM
K.C. Leung
K.C. Leung - avatar
0
okay tnx it really helped guys
9th Jul 2017, 12:42 PM
nattii
nattii - avatar