8/19/20

Compilation and Execution in C Programming.
















Compilation and Execution 

Once you wrote the program you need to type it and execute it. To type the C program you need a software in which you type your program called Editor. After type your code, you need another software which converts your c program code into machine language (0 and 1 form) known as Compiler.

The Compiler software companies provide an Integrated Development Environment (IDE) which consists of an Editor as well as the Compiler.

There are several IDE software available in the market for different operating systems. For ex: - Turbo C, Turbo C++, etc. are for MS-DOS. Visual C++, Borland, etc. are available for Windows and GCC are works under Linux OS.

  upload.wikimedia.org/wikipedia/commons/5/5e/GNU...MS DOS for Android - APK DownloadMicrosoft launches Visual Studio Online public preview and ML.NET ...
                                                                    Image Source

In my opinion, if you are a beginner you have to use Turbo C or Turbo C++. Once you have mastered the elements then you can easily switch over to other software like Borland or Visual C++ etc.

Now let assume you are using Turbo C or Turbo C++ compiler. So here are the few steps that you have to follow to compile or execute the C program. 


1. Start the compiler at C> prompt. 


2.  Select New from the File menu. 




3. Type the program.




4. Save the program using F2.

5. Use (Ctrl + F9) to compile and execute your c program.




6. Use Alt + F5 to view the output.





Note that after compiling the program a new file stored on your disk (.EXE file). This file is known as an executable file. If you give that file to your friend to check your program they didn’t need to compile the file again they directly double click on that file and the file will start executing the program.

People May Also Like



5 comments:

  1. it's really cool blog. Linking is very useful thing.you have really helped
    data science course in delhi

    ReplyDelete
  2. Its most perceptibly horrendous piece was that the item just worked spasmodically and the data was not exact. You unmistakably canot confront anyone about what you have found if the information isn't right.
    training provider in malaysia

    ReplyDelete
  3. I was looking at a portion of your posts on this site and I consider this site is really enlightening! Keep setting up..
    360DigiTMG supply chain analytics using r

    ReplyDelete
  4. I feel extremely glad to have seen your site page and anticipate such a large number of additionally engaging occasions perusing here. Much obliged again for all the subtleties.
    hrdf scheme

    ReplyDelete

Like us on facebook

blogger templatesblogger widgets

Follow on Twitter

Linkedin

Categories

Contact Form

Name

Email *

Message *

Mad About Computer. Powered by Blogger.