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!”;
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.

cin.get(); in the code is provided to keep open output exe file (that you need to open after compiling program). If you dont put cin.get(); in code output file will close just after opening it.

Comments (4)

  1. shoaib says:

    its an very friendly user and it is the best compiler i have seen before

  2. Dan says:

    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”);

  3. Naeem says:

    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

  4. rajilarajan says:

    now it’s good for students

Leave a Reply

Back to Top