I am just starting out with my C++ Programming. I got this book Sam's Teach yourself C++ in 21 days. Im making the hello program. When I run after its compiled and stuff, It pops up, shows for like a second or less and minimizes or closes. Here is the code. If there is a way to fix it please tell me and please explain to me what it does.
cout << "Hello World!\n";