Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C references guide:
- =====================Carrages======================
- \n = newline
- \0 = null
- \t = tab
- \b = backspace
- \v = virtical tab
- \f = form feed
- \a = audiable aleart
- \\ = backslash
- \? = question mark
- \' = single quote
- \" = double quote
- \xhh = hex value
- \000 = octal value
- ===============specifiers================
- %d = an integer
- %ld = long integer
- %f = floating point number
- %c = a single character
- %s = a string of characters
- %p = a memory address
- ================keywords=================
- auto
- break
- case
- char
- const
- continue
- default
- do
- double
- else
- enum
- extern
- float
- for
- goto
- if
- int
- long
- register
- return
- short
- signed
- static
- struct
- switch
- typedef
- union
- unsigned
- void
- volatile
- while
- ============standard Libaries=============
- stdio.h = contains input and output functions.
- ctype.h = Contains functions for testing characters.
- string.h = contains functions to manipulate strings.
- math.h = contains mathematical functions.
- stdlib.h = contains utility functions for storage allocation.
- assert.h = contains functions that can add diagnostics.
- stdarg.h = contains a function that steps through other function arguments.
- setjump.h = contains a function that can be used to avoid normal calls.
- signal.h = contains functions for handling exceptional conditions.
- time.h = contains function manipulating date and time.
- limits.h = contains constant definitions for size of data types.
- float.h = contains constant definitions relating to floating point numbers.
- ===========================data types========================
- char = A single byte, which can Store a single character.
- int = a whole number.
- float = a decimal point number which is correct up to 6 decimal points.
- double = a decimal number which is correct to 1 decimal points.
- ========================math functions=======================
- + = addition
- - = subtraction
- * = multiplication
- / = division
- % = modulus (remander Fremont a devision)
- ++ = increment
- -- = decrement
- ========================assignment===========================
- = = assigning
- += = plus then assigning
- -= = minus then assigning
- *= = multiplying then assigning
- /= = divide then assigning
- %= = modulus then assigning
- =====================comparing values========================
- == = equal to
- != = not equal to
- > = greater then
- < = less then
- >= = greater then or equal to
- <= = less then or equal to
- ======================assigning logic========================
- && = AND
- || = OR
- ! = NOT
- ==================comparing bit values=======================
- | = OR
- & = AND
- ~ = NOT
- ^ = XOR
- << = Shift Left
- >> = Shift Right
- =====================Precedence==============================
- () = function call:Left to Right
- [] = Array index:Left to Right
- -> = struct pointer:Left to Right
- . = struct member:Left to Right
- ! = NOT:Right to Left
- ~ = Bitwise NOT: Right to Left
- ++ = increment: Right to Left
- -- = Decrement:Right to Left
- + = positive sign:Right to Left
- - = negative sign:Right to Left
- sizeof = size of a data type: Right to Left
- * = pointer: Right to Left
- & = address mapping:Right to Left
- Adressof = addresses of certain data types:Right to Left
- * = multiply:Left to Right
- / = divide:Left to Right
- % = modulus:Left to Right
- + = add:Left to Right
- - = subtract:Left to Right
- << = Shift Left: Left to Right
- >> = Shift Right:Left to Right
- < = less then: Left to Right
- <= = less then or equal to: Left to Right
- > = greater then: Left to Right
- >= = greater then or equal to: Left to Right
- == = equality: Left to Right
- != = inequality: Left to Right
- & = Bitwise AND: Left to Right
- ^ = Bitwise XOR:Left to Right
- | = Bitwise OR: Left to Right
- && = AND: Left to Right
- || = OR:Left to Right
- ?: = conditional: Right to Left
- = = assignment: Right to Left
- += = plus then assigning: Right to Left
- -= = subtract then assigning: Right to Left
- *= = multiply then assigning: Right to Left
- /= = divide then assigning: Right to Left
- %= = modules then assigning: Right to Left
- ^= = XOR and assigning: Right to Left
- |= Or and assigning: Right to Left
- <<= Shift Left and assigning: Right to Left
- >>= Shift Right and assigning: Right to Left
- , = comma: Left to Right
- ==================file permissions===========================
- r = open an existing file to read
- w = open an existing file to write to. Creates new file if doesn't exist
- a = appends text to the end of the file
- r+ = opens a text file to read from or write to
- w+ = open a text file to write to or read from
- a+ opens a text file to read from and write to at the end
- ======================date and time==========================
- int tm_sec = seconds after the minute, normally 0-59
- int tm_min = minuets after the hour, 0-59
- int tm_hour = hours since midnight, 0-23
- int tm_mday = day of the month, 1-31
- int tm_mon = months since January, 0-11
- int tm_wday = says since Sunday, 0-6
- int tm_yday = days since January 1st, 0-365
- int tm_isdst = is daylight saving mode in effect
- ===================ASCII character codes=====================
- code: | char: | description:
- 0 NUL null
- 1 SOH Start Of Heading
- 2 STX Start of Text
- 3 ETX End of Text
- 4 EOT End Of Trasmission
- 5 ENQ enquiry
- 6 ACK Acknowledgement
- 7 BEL Bell
- 8 BS BackSpace
- 9 TAB Horizontal tab
- 10 NL NewLine
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- =================Input and Ouput Functions===================
- ==================Charter Test Functions=====================
- ===================String Functions==========================
- ====================math functions===========================
- ===================Utlity Functions==========================
- =================Diagnotic Functions=========================
- ==================Argument Functions=========================
- ================Date and Time Functions======================
- ===================Jump Functions============================
- ==================Signal Functions===========================
- ===================Limit Constants===========================
- ===================Float Constants===========================
Add Comment
Please, Sign In to add comment