24.04.2017, 04:11
When application finishes the codes it close auto so add a line reader code to keep it open ( I don't really remeber what was the function of it but maybe getline(cin, var); )
Edit:
http://stackoverflow.com/a/454684
Edit:
http://stackoverflow.com/a/454684
