To see the output without using cin, open a
command window via start->Run... ("Uitvoeren..." in dutch), type in cmd and press enter. You will see something like this:

Start your program in this window and it won't dissappear immediately after the program has finished.