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

  • Share/Bookmark
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

    7 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. Kaheem on October 9th, 2008 8:11 pm

      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.

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

    4. 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

    5. ROCK on November 18th, 2009 12:15 pm

      HTTP://WWW.AMITBPIT1.BLOGSPOT.COM PROVIDES A SOLUTION TO RUN TURBO C/C++ 16-BIT WITH FULL GRAPHICS SUPPORT IN VISTA…

    6. rajilarajan on January 8th, 2010 3:25 pm

      now it’s good for students

    7. john on February 4th, 2010 5:32 pm

      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

    Leave a Reply




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