Is there a universal OS screen clear function? To my understanding system("cls") is for windows, system("ls") can be used for Linux (please correct me if wrong) but I am using a Mac for programming and my professor uses windows, I would like to clear the screen at certain points to neaten things up. Any advice is appreciated.
I see, thanks, I know the ls-command from terminal on a Unix machine I just saw someone say it was able to be used Linux trying to clear the screen. I am strictly speaking in terms of c++ also, no terminal commands.