Notes on the C programming language.
C is a widely used programming language, developed by Brian Kernighan and Dennis Ritchie during the 1970s. It is closely tied to the development of the Unix operating system.
A program written in C needs to be compiled - I use the Ubuntu pre-installed gcc. C programs can be debugged using GDB.
|type *ptr||A pointer of type named ptr|
|*prt||The value of whatever prt is pointed at|
|*(ptr + i)||The value of (whatever prt is pointed at plus i)|
|&thing||The address of thing|
|type *ptr = &thing||A pointer of type named ptr set to the address of thing|
Converting strings to integers
incoming(4) | logbook | meta | preonic | review 2021