Skip to content

Latest commit

 

History

History
53 lines (30 loc) · 1 KB

File metadata and controls

53 lines (30 loc) · 1 KB
alias
tag IT/languages CodeNotebook

C programming language notes

WRITE: quick summary

Running code

Basic run

To compile (g)cc hello-world1.c, to run ./a.out or gcc -o <output file> <source file(s)> for specific output

!Header-name-to-FIX! xd

Operators

+,-,*,/,%, =,+=,-=,*=,/=, ++,--, ==,!=,<=,>=,&&,!!,!,

keywords

if,elif,else,switch,return

while, for,continue,break

Comments

/* one line comment */ or // one line comment from C99+

Advanced

WRITE:things here

Los Pointerienos

They evil, sometimes

Structs

Like classes but on stack, everything public and also faster!

Makefiles

WRITE: quick summary but it's some cmake && make && install magic

Resources

MFF UK Devnull-cz lecture notes in English, here as markdown notes + github repo