Fundamentals in C Programming - "Hello World"

in #programming7 years ago

Hello Steemians!! Here's my first ever tutorial in C Programming....
Are you ready to make a very simple and basic program in C programming language??
If YES! Let's get started!

So today, I'm gonna teach you how to make a C program that displays "Hello World" in the output window like this:

So the requirements are:

  1. You only need to know how to use a computer.
  2. You don't need any programming experience.
  3. You need to install an IDE.(IDE is a software application that the programmer uses in software development.)

In this section, I used "Quincy 2005" and this is how it looks like:

The first thing here is to click the File > New > C Source File(Choose C since we are going to use the C programming languange) and click the button OK.

And this blank window will appear.

And before we will start I will going to discuss the basic syntax in C and these are the following:

reference: fresh2refresh.com

And type this following codes to your IDE or compiler.
And always remember that this is CASE SENSITIVE and each line must end with semicolon (;) or else you will end up with ERRORS.

After that, you need to save the file with .c extension..
For example,

After saving, you will see your codes with different colors.

Then, click the hammer from the Menu above to build your codes. Building your codes helps to check if your codes don't have errors.

After clicking the Build button, this window will appear and say "Successful build" if your codes don't have errors if you do, this window will list the errors.

Then run your code. To do this, click the Button above with the running man icon.

Then your done!! the output window will finally appear.

I hope this would help you guys :D
See you again to my next tutorials..
And don't forget to upvote and comment some suggestions :D

Sort:  

i am making a chess game with C languge , not easy as you think

wooaah that's awesome!! :D how was it??

not finished yet still at mouvment functions

ahh okay :D go go go :D you can do it :D

i miss python it's smart not like C you do everything your self