Monday, July 2, 2012

How to run cpp program in dev cpp on windows 7 32 bit and 64 bit

Run Simple C++ program on windows 7
1. Download dev cpp from here.
2. Install dev cpp.
3. Press "I Agree" Button.
4. Select Full from drop down menu.
and check all check boxes are checked except last one.

5.Choose directory where you want to put setup file. (Recommended : leave as it is)
6. Choose finish to complete installation. and will dev cpp for first time.
7. Create new cpp file.
8. Save empty file.
9. Give name to file.
8. Write above code.

#include<iostream.h>
#include<conio.h>
int main(){
    cout<<"hello world\n";
    system("PAUSE");
    return 0;
}


10. Save it.
11. Compile and run.
12. Final output.