The C Programming Guide

Intro to C

C is a general-purpose programming language. It was designed in 1972 by Dennis Ritchie at Bell Labs, and is still widely used today.

Required Software

We recommend installing GCC (GNU Compiler Collection) to get started. Use whatever text editor you like best.

Installing a Compiler on Linux

First run the following command to see if GCC is installed:

gcc -v

If not, we've included a couple of examples.

Ubuntu:

sudo apt update
sudo apt install build-essential

Fedora:

sudo yum update
sudo yum install gcc

Arch:

sudo pacman -Syu
sudo pacman -S gcc

Installing a Compiler on Mac

Install the Homebrew package manager, and run the following command:

brew install gcc

Installing a Compiler on Windows

Install MinGW from https://mingw.org

Conclusion

Okay, Now we are ready to write our first program in C.

=> Next: Hello, Gemini

=> Teletpa Home | Back

Proxy Information
Original URL
gemini://tilde.pink/~telepta/scientia/c/intro-to-c.gmi
Status Code
Success (20)
Meta
text/gemini;
Capsule Response Time
20.356083 milliseconds
Gemini-to-HTML Time
0.575333 milliseconds

This content has been proxied by September (ba2dc).