Run and execute C and C++ program In windows XP and Vista

April 27, 2008



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!”;
cin.get();
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.

We will send you some more information related to Run and execute C and C++ program In windows XP and Vista

Related Articles

  • Remove Messenger or other programs from System tray of Windows XP
  • How to put Windows or Internet Explorer icon in start menu
  • Uninstall any Program or Game Forcefully from Windows XP or Vista by Free Revouninstaller
  • Remove Virus from Windows XP by Using System Restore Method
  • Uninstall and remove any software program forcefully from XP and Vista with tricks
  • Comments

    4 Responses to “Run and execute C and C++ program In windows XP and Vista”

    1. shoaib on August 20th, 2008 11:30 pm

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

    2. Dan on November 7th, 2008 10:41 pm

      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 on March 8th, 2009 9:58 pm

      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 on January 8th, 2010 3:25 pm

      now it’s good for students

    Leave a Reply




    Comment moderation is enabled. Your comment may take some time to appear.