recent posts

Environment setup for C Programming

In this tutorial, we will learn about Environment setup for C Programming. To run c programs we need two things in our machine first one is TextEditor and the second one is c compiler. We will write code in the TextEditor and our second software the compiler will help us to compile our written program into machine-readable form(in binary language).

Environment setup for C Programming(In windows):

  • Download a Text Editor Notepad++ or Vim or any other.
  • Download C Compiler TDM-GCC
  • Install TextEditor and Compiler

Environment setup for C Programming(In MAC):

  • Download and install Xcode on an Apple Mac from App Store
  • Install GCC/LLVM compiler on from Xcode->Preferences– > Downloads– > choose “Command line tools” > Click “Install” button:
  • To check you have successfully installed it C compiler write following command in terminal: $ gcc –version

Environment setup for C Programming(In Linux):

  • Write following command in terminal to install C compiler: sudo apt install GCC
  • Type ‘y’ when you get a message in terminal like this “Do you want to continue?” and then press Enter.
  • After successful compilation write gcc –version to check the currently installed version of C compiler,

IDE for C Programming:

There is various Integrated Development Environment software available for all operating systems(Windows, Linus, Mac). You can also download IDE and it will automatically download compiler. Here is the list of some popular IDE software:

Environment setup for C Programming Environment setup for C Programming Reviewed by Parvesh Sandila on December 08, 2020 Rating: 5

No comments:

Powered by Blogger.