Run and execute C and C++ program In windows XP and Vista
You can run C and C++ program easily on windows XP by using free bloodshed software, that you can download from here. This is a very light and useful tool for running C and C++ program easily on Windows (Windows XP). You also need not to know the various commands to run and execute the program as in Linux.
Here is the step by step procedure to run your first CPP program on windows.
1. Download the software from this link
2. Install it on your windows machine.
3. After installation run the software.
4. In window press CTRL+N (open new source file).
5. Copy and paste your first code. Let the code is-
// my first program in C++
#include <iostream>
using namespace std;
int main ()
{
cout << “Hello World!”;
system(“PAUSE”);
return 0;
}
6.Go to File>save on the window and save it with any name at desktop
7. Now click on Execute> Compile (of software window)
8. when you get “Done” signal, click on Execute> Run. Thats it! You will get the output of your program.
Related Articles
Comments
7 Responses to “Run and execute C and C++ program In windows XP and Vista”
Leave a Reply

its an very friendly user and it is the best compiler i have seen before
i do get the output of the program but the output window does not stay up for very long. it stays up for a like a millisecond.
Excellent program. With Kaheem’s concern you can do this:
When the program terminates, the output window closes automatically. To keep the output window open until you hit a key, include the iostream library and add the following line just above the return statement:
system (“pause”);
please show the leave reply in the C++. I am new student of the C++. I hop you will be get got response.
Thank you
HTTP://WWW.AMITBPIT1.BLOGSPOT.COM PROVIDES A SOLUTION TO RUN TURBO C/C++ 16-BIT WITH FULL GRAPHICS SUPPORT IN VISTA…
now it’s good for students
I installed it. When I try to open/run the programme, I get the following message:
“There does not seem to be GNU make file in PATH or in DEV-C++’s bin path. Please make sure that you have GNU Make and adjust the Bin setting or system PATH environment variable and that make settings in Compiler Option contains correct file name, otherwise you will not be able to compile anything.”
Still I proceeded and tried to copy-paste the programme and run it, but it does not work. How do I solve?
thanks