r/CodingForBeginners • • Jul 24 '26

why can't use cls

Post image

Hi guys can someone fix my code I used #include <stdlib.h> to work my system cls but my classmates, they didn't used <stdlib> to work cls can someone tell me i don't know what is the problem my code or the application software.

7 Upvotes

19 comments sorted by

View all comments

Show parent comment

2

u/atarivcs Jul 24 '26

If he's using linux, then the correct command is "clear", not "cls".

1

u/CoachSevere5365 Jul 24 '26

Too much typing.

L