clear console c++

C++
system ("CLS");#include <Windows.h>

int main() {
	//print stuff
    
	system("cls"); // clear console
}
Source

Also in C++: