Table of Contents for
Modern C Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
Close
Version ebook
/
Retour
Modern C Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
by Mikael Olsson
Published by Apress, 2018
Navigation
Cover
Front Matter
1. Hello World
2. Compile and Run
3. Variables
4. Operators
5. Pointers
6. Arrays
7. Strings
8. Conditionals
9. Loops
10. Functions
11. Typedefs
12. Enums
13. Structs
14. Unions
15. Type Conversions
16. Storage Classes
17. Constants
18. Preprocessor
19. Memory Management
20. Input Handling
21. Headers
22. Strings and Numbers
Back Matter
Prev
Previous Chapter
22. Strings and Numbers
Index
A
Aggregate initialization
Arithmetic operators
Arrays
assignment
declaration and allocation
multi-dimensional
and pointers
sizeof operator
Assignment operators
atoi function
B
Bit field
Bitwise operators
Break and continue statements
C
Calloc function
Char type variable
Command line arguments
Comparison operators
Compile and run
comments
console compilation
visual studio compilation
Conditional statements
if statement
switch statement
Constants
guideline
parameters
pointers
variable
D
Declarator list
Dereference operator
Dereference pointers
Do-while loop
E
Enum
color
constant values
conversions
scope
switch statement
variables
Escape characters
Exact-width integer types
Explicit conversions
F
Floating-point literal suffix
Floating-point type variable
For loop
Free function
Functions
calling
definition
forward declaration
inline
parameters
pass by address
pass by value
return by value/address
return statement
variable parameter lists
void parameter
G
GNU Compiler Collection (GCC)
Goto statement
H
Headers
function’s prototype
include guards
interface and implementation
shared global variables
Hello world
integrated development environment (IDE)
IntelliSense
printf function
project
return statement
source file
I, J, K
If statement
Implicit conversions, types of
Increment and decrement operators
Infix operator
Input Handling
error
file
keyboard
Integer type variable
Integrated development environment (IDE)
IntelliSense
L
Logical operators
Loops
break and continue
do-while
for
goto statement
while
M
Macros
Malloc function
Memory management
calloc function
description
free function
malloc function
realloc function
void pointer
Multi-dimensional arrays
N
Null pointer
Number conversion
O
Operator precedence
P, Q
Pointers
address-of operator
data type
dereferencing
null
pointing to pointer
Preprocessor
ANSI C compliant compilers
conditional compilation
define macro (#define)
description
error and warning
file include (#include)
if macro defined (#ifdef)
line
macro functions
pragma
undefine macro (#undef)
printf function
R
realloc function
S
Single-dimensional arrays
Static allocation
Storage classes
auto
external
register
static
volatile
String
character array
conversion
escape character
functions
null character
strcat (string concatenation)
strcpy (string copy)
strlen function
strtol function
Struct/structure
bit field
member access
objects
pointers
user-defined type
Switch statement
T
Ternary operator
Type conversions
explicit
implicit
Typedef
U
Union
Unnamed struct
V
Variables
assigning
bool type
char type
data types
declaration
floating-point types
global
integer size
integer types
literal suffixes
local
printf function
signed and unsigned
Void pointer
Volatile modifier
W, X, Y, Z
While loop
Prev
Previous Chapter
22. Strings and Numbers