简体   繁体   中英

How to clear screen in Xcode

I used to #include <conio.h> then clrscr () to clear the screen in C .

system("cls") is the same. I tried that but it's not working in Xcode .

So how do you clear the screen in Xcode ?

Please help

system("clear") should work on terminal, may not in xcode.

Check post #10 in this thread -> http://forums.macrumors.com/showthread.php?t=173777

(This would be a comment but I don't have reputation yet)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM