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
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003