Dev-C++ Hello world doesn't show -
Dev-C++ Hello world doesn't show -
i new c++. downloaded , run dev-c++ , write , run f9 this:
#include <iostream> using namespace std; int main() { cout << "hello, world!"; homecoming 0; }
but no "hello, world!" printed, why?
#include <iostream> using namespace std; int main() { cout << "hello, world!"; getchar(); homecoming 0; }
add getchar()
@ end of programme simple "pause-method" consoles seems close fast, need "delay" see console.
c++
Comments
Post a Comment