ok im new so i dont really know what im doing but when i put the example program in dev and compile it everything works fine but when i run it it still works fine but the black screen what shows you the result of thr program lasts like 1 second
#include <iostream.h>
int main ()
{
cout << "hi world \n";
return 0;
}
the result lasts less than a second how do i fix this