Last time we looked at creating an application for C. If we follow these steps, we’ll be ready to start writing some code.
One of the first things we’ll want to do is to create a “main” function in our application. This can be done by using the following code:

It acts as the entry point for our application in a way. Without this function, we wouldn’t be able to execute anything else.
But what could we execute? We will need to import some libraries to add functions for us to use. Fortunately, this can be done very easily by using the “#include<>” statement.

For this tutorial we’re using “stdio.h” which is the standard input/output header for C. This will give us access to the “printf” function which we can now use to print “Hello World!”.
In the main function, write the following code:

With that in place, you’re then ready to execute the code. This can be done by clicking the button shown here:


And that’s “Hello World!” done in C.
Next time
Next time we’ll be looking at variables in C, comments that we can do and we’ll talk about how C and C++ have become very intertwined.