So I just started learning C++ and tried a few programs myself.
I was using Xcode on mac, which is so user friendly, and everything was fine.
Then I start programming on my laptop using visual studio, everything went alright, but my question is every time the program done running, it just shuts...