C Language Reference

C Language Reference

The S Standard Library

Books

The C Programming Language, Kernigan & Ritche
Linux Manual pages - use the man command from the command line

Getting a terminal prompt.

Click on the output window and press Ctrl + Shift + P to open a terminal window in repli.it.

GNU C Compiler - gcc

gcc is the Unix/Linux command-line compiler. It is used to identify all the files to be compiled and built in to an application, from user defined source files to library files. It is often used by GUI based IDEs to actually do the compilation and building of applications.

GCC Tutorial
Compiling with GCC
Quick Intro to GCC

Video tutorial on GCC

Makefiles

Using gcc can be complex and fiddly, especially with large projects with lots of source files and using multiple libraries. GUI based IDEs try to simplify this process with projects and build settings, another approach is to use makefiles.

A makefile is a set of instructions for the make application. It details the source-files and libraries required to build an application.

A simple makefile tutorial
Makefile tutorial
Make and Makefile Overview

Makefile video tutorial

GNU Debugger - gdb

gdb is a command-line debugger for C (and C++). It isn’t as user friendly as debugging using a GUI like Eclipse but it is very powerful when you know how to use it.

How To Debug A C Program
GDB Tutorial
Using gdb
How to Debug Using GDB

Video tutorial on gdb