0

Hello world First c++ program

I am trying to write the hello world code in bloodshed dev c++ but compiler error Any help? windows 10 pc dev c++ 4.9.9.2 version

8th Feb 2019, 4:32 PM
Syed Hussain Naqvi Bukhari
Syed Hussain Naqvi Bukhari - avatar
7 Réponses
+ 10
What error message are you getting ? It will be much easy to find the error(s) if you specify it.
8th Feb 2019, 4:45 PM
Nova
Nova - avatar
+ 9
I don't know the exactly how to do it as I have never used this before for C++. But the below thing may help http://www.cplusplus.com/doc/tutorial/introduction/devcpp/
8th Feb 2019, 5:54 PM
Nova
Nova - avatar
+ 8
After clicking F9, does the output screen opens and close automatically ? First of all are you using Dev C++ for the first time ?? If yes, then have you enabled the support for the most recent version of C++ explicitly ?
8th Feb 2019, 5:27 PM
Nova
Nova - avatar
+ 8
If you are using Dev-c then you need to press F-11 key to compile and run on a PC, if you are using it on laptop then try F-11 or fn+F-11 key. The code should then be compiled successfully if there are no errors in the code.
8th Feb 2019, 7:16 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 1
I have moved to codeblocks compiler Dev c++ was taking hell out of me
9th Feb 2019, 3:26 AM
Syed Hussain Naqvi Bukhari
Syed Hussain Naqvi Bukhari - avatar
0
#include <iostream> using namespace std; int main() { cout << "Hello world!"; return 0; } This is the code I am using When I press F9 I get source file not compiled
8th Feb 2019, 5:04 PM
Syed Hussain Naqvi Bukhari
Syed Hussain Naqvi Bukhari - avatar
0
No screen does not open or closes How I can enable support for c++?
8th Feb 2019, 5:29 PM
Syed Hussain Naqvi Bukhari
Syed Hussain Naqvi Bukhari - avatar