C

From wikinotes
Revision as of 15:04, 12 February 2023 by Will (talk | contribs) (→‎Tutorials)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The C library is released as a standard that defines everything the standard-library should include (ex C99, C97, C11, C17, C18).
Implementations are then built to satisfy the standard (glibc, MSCVRT, ..).


Documentation

wikipedia: stdlib https://en.wikipedia.org/wiki/C_standard_library
devdocs documentation https://devdocs.io/c/ attempt for a one-size-fits all C stdlib
C97, C99, ... https://stackoverflow.com/questions/81656/where-do-i-find-the-current-c-or-c-standard-documents c standard
glibc http://www.gnu.org/software/libc/manual/html_node/index.html GNU C library (gnu implementation of stdlib)
man libc https://man.archlinux.org/man/core/man-pages/libc.7.en
MSVCRT ?? Windows implementation of stdlib
bsd libc ?? OSX, FreeBSD, NetBSD, OpenBSD implementation of stdlib

Tutorials

Learn C the hard way https://github.com/zedshaw/learn-c-the-hard-way-lectures
Learning C (build lisp) http://buildyourownlisp.com/contents
Portable linux binaries https://blog.gibson.sh/2017/11/26/creating-portable-linux-binaries/#some-general-suggestions

C libraries

c external libraries

Intro/Reference

c Python to c
c anatomy
c compilers
c libraries
c valgrind
c stack/heap

Basics

c input/output
c variables
c functions
c loops
c conditionals
c operators
c projects
c pointers
c errors/exceptions
c files/streams