Sample
[br]2
[br]The first program every beginner makes is <strong>"Hello world!"</strong> and it consists of writing this phrase on a terminal - <em>also known as command prompt or cmd</em>.
In order <strong>to print something on the screen</strong> you can use:
[crayon-5df24d0f6297c057632291/]
Basically you type what you want to be printed between <strong>quotes</strong>.
You can copy the example code on the side into an IDE and execute it to see the result.
If you haven't installed an IDE yet, you can follow the guide at the link below.
[br]https://itszephyro.com/blog/learn-c/first-c-program/[br]#include <stdio.h>
int main() {
printf("Hello Stonehenge!");
}
[br]
[br]2
[br]The first program every beginner makes is “Hello world!” and it consists of writing this phrase on a terminal – also known as command prompt or cmd.
In order to print something on the screen you can use:
1 |
printf("Hello world!"); |
Basically you type what you want to be printed between quotes.
You can copy the example code on the side into an IDE and execute it to see the result.
If you haven’t installed an IDE yet, you can follow the guide at the link below.
[br]https://itszephyro.com/blog/learn-c/first-c-program/[br]#include
int main() {
printf(“Hello Stonehenge!”);
}
[br]