Setup ๐Ÿ› ๏ธ#

We will jump straight into C programming, so you should use an online C compiler to avoid the hassle of setting up C on your own computer. This guide will go over how to use Programiz's Online C Compiler.

Online C compiler

Programizโ€™s Online C Compiler#

Tip

Open up the online compiler in a separate window to get a split-screen setup with one windows showing this website, and the other showing the programmiz website. This will make it easier to follow along and perform the tasks.

Split screen setup

Code Editor#

Online C compiler text editor

On the left half of the website you should see the code editor, which is where you edit your source code. This website only supported only one source code file, but that is enough for this guide.

You can toggle fullscreen mode using the cornered square button, toggle night mode using the moon button, and run your C program using the โ€œRunโ€ button.

When you press the run button, the website will automatically compile your source code and run it.

Output#

Online C compiler output

On the right half of the website, you should see the output. This is where while running, your program can display text and receive text input.