Hello, I want my console application to close instead of returning 0. How do i close the console window, not hide it, but actually close the program? Thank you :D
If Windows spawns one for you, so that your program will run, then Windows will get rid of the console once your program terminates. If the console window existed before you started your program, then it will continue to exist after your program terminates.