C++ Console disappears after the code is done

Every time I write, compile and execute some C++ in VS express, after the whole program is done the console just closes itself. But I printed the result to the console and now I'm not able to see what it says, it just closes.

How should I go about to fix this?

Thank you. If it helps, here is the code:

http://pastebin.com/BPQsnHRn

use: 'system("pause");'

Without the little quotes (the quotes in the brackets are required).

The line above return 0;

Thank you very much

I add

fflush(stdin); getchar();

Before the end of main function.