I need a cross platform solution for clearing the console in both Linux and Windows written in C++. Are there any functions in doing this? Also make note that I don\'t want
This should work if you're working on console
#include int main() { clrscr(); }