Printing Your First C Program

Welcome to C

If you are here, it means you have taken a very big step to a very lucrative journey ahead to become one of those with super powers of coding, and what better way to start than with C

To get started with C you need an IDE. Install the Code::Blocks with gnu gcc compiler, which is the best compiler to start with for beginners. Write the C code and save the file with .c extension. To save the file, go to File > Save (Shortcut: Ctrl + S). To run the program, go to Build > Build and Run.

Now let's go ahead with what brought you here which is  writing your first C++ code. The code below illustrates just how to do that.
This application displays a line of text in a Command prompt using an IDE


 #include <stdio.h>

 int main( void )
 {
printf( "Welcome to C!\n" );

Comments

Popular posts from this blog

Body Mass Index Calculator In C

Adding two Integers in Java Application

Calculating Product, sum, difference, and quotient of Five Integers