I have the Dev-C++ compiler, using windows Vista if that helps. Whenever I try compiling, it will do fine but when the window comes up to show my program, it closes instantly.
I just started using C++, and I can't figure out what is wrong. Any ideas?Code:#include <iostream> int main() { std::cout << "hello\n"; return 0; }