How to Create a Simple Program in C

Install a compiler., Write these line of codes in your Turbo C IDE.

2 Steps 1 min read Easy

Step-by-Step Guide

  1. Step 1: Install a compiler.

    In order to create C and C++ programs you must have a C/C++ compiler installed on your operating system.

    If you don't have a compiler installed on your system, please consult the appropriate method for installing the GNU C/C++ compiler on your Linux system.

    If you are on a Windows operating system, check out How to Install MinGW (Minimalist Gnu C/C++ Compiler) on Microsoft Windows.
  2. Step 2: Write these line of codes in your Turbo C IDE.

    . #include<stdio.h>] #include<stdlib.h> int main() { printf("Hello world"); return 0; }

Detailed Guide

In order to create C and C++ programs you must have a C/C++ compiler installed on your operating system.

If you don't have a compiler installed on your system, please consult the appropriate method for installing the GNU C/C++ compiler on your Linux system.

If you are on a Windows operating system, check out How to Install MinGW (Minimalist Gnu C/C++ Compiler) on Microsoft Windows.

. #include<stdio.h>] #include<stdlib.h> int main() { printf("Hello world"); return 0; }

About the Author

J

Judith Williams

Brings years of experience writing about lifestyle and related subjects.

31 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: