How to Create a Simple Program in C
Install a compiler., Write these line of codes in your Turbo C IDE.
Step-by-Step Guide
-
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. -
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
Judith Williams
Brings years of experience writing about lifestyle and related subjects.
Rate This Guide
How helpful was this guide? Click to rate: