W
Web Developer
complete code:
#include <iostream>
int main()
{
std::cout << "Hello World" << '\n';
return 0;
}
I'm using Dev C++ version 5.0 to compile the program. I don't get any errors
when compiling, but when I execute the program a DOS windows opens and then
closes straight after. I assume that this means there is nothing outputted
on screen. Any help appreciated.
WD
#include <iostream>
int main()
{
std::cout << "Hello World" << '\n';
return 0;
}
I'm using Dev C++ version 5.0 to compile the program. I don't get any errors
when compiling, but when I execute the program a DOS windows opens and then
closes straight after. I assume that this means there is nothing outputted
on screen. Any help appreciated.
WD