- Browse
- » Modern C for Absolute Beginners: A Friendly Introduction to the C Programming Language
Modern C for Absolute Beginners: A Friendly Introduction to the C Programming Language
Author
Publisher
Varies, see individual formats and editions
Publication Date
Varies, see individual formats and editions
Language
English
Description
Loading Description...
More Details
ISBN
9781484266434
9798868802249
9798868802249
Table of Contents
From the eBook - 2nd ed.
Intro
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Part I: The C Programming Language
Chapter 1: Introduction
1.1 What Is C?
1.2 What Is C Used For?
1.3 C Compilers
1.3.1 Installing Compilers
1.3.1.1 On Linux
1.3.1.2 On Windows
1.4 C Standards
Chapter 2: Our First Program
2.1 Function main()
2.2 Comments
2.3 Hello World
Chapter 3: Types and Declarations
3.1 Declarations
3.2 Introduction
3.3 Character Type
3.4 Integer Type
3.5 Floating-Point Types
3.5.1 float
3.5.2 double
3.5.3 long double
Chapter 4: Exercises
4.1 Hello World with Comments
4.1.1 Declaration
4.1.2 Definition
4.1.3 Outputting Values
Chapter 5: Operators
5.1 Introduction
5.2 Arithmetic Operators
5.3 Assignment Operator
5.4 Compound Assignment Operators
5.5 Relational Operators
5.6 Equality Operators
5.7 Logical Operators
5.8 Increment and Decrement Operators
5.9 Operator Precedence
Chapter 6: Expressions
6.1 Initialization
6.2 Type Conversion
Chapter 7: Statements
7.1 Introduction
7.2 Selection Statements
7.2.1 if
7.2.2 if-else
7.2.3 switch
7.3 Iteration Statements
7.3.1 while
7.3.2 do-while
7.3.3 for
Chapter 8: Exercises
8.1 Arithmetic Operations
8.2 Integral Division
8.3 Floating-Point Division and Casting
8.4 Equality Operator
8.5 Relational and Logical Operators
8.6 The switch Statement
8.7 Iteration Statements
Chapter 9: Arrays
9.1 Declaration
9.2 Subscript Operator
9.3 Array Initialization
9.4 Character Arrays
9.5 Multidimensional Arrays
9.6 Array Size and Count
Chapter 10: Pointers
10.1 Introduction
10.2 Declaration and Initialization
10.3 Pointers and Arrays
10.4 Pointer Arithmetics
10.5 Void Pointers
10.6 Pointer to Character Arrays
10.7 Arrays of Pointers
Chapter 11: Command-Line Arguments
Chapter 12: Exercises
12.1 Character Array
12.2 Array Elements
12.3 Pointer to an Existing Object
12.4 Pointers and Arrays
12.5 Pointer to a Character Array
12.6 Pointer Arithmetics
12.7 Array of Pointers
Chapter 13: Functions
13.1 Introduction
13.2 Function Declaration
13.3 Function Definition
13.4 Parameters and Arguments
13.4.1 Passing Arguments
Passing by Value
Passing by Pointer/Address
13.5 Return Statement
Chapter 14: Exercises
14.1 A Simple Function
14.2 Function Declaration and Definition
14.3 Passing Arguments by Value
14.4 Passing Arguments by Pointer/Address
14.5 Function - Multiple Parameters
Chapter 15: Structures
15.1 Introduction
15.2 Initialization
15.3 Member Access Operator
15.4 Copying Structures
15.5 Pointers to Structures
15.6 Self-Referencing Structures
15.7 Structures as Function Arguments
Chapter 16: Unions
From the eBook
Part I: The C Programming Language. Chapter 1: Introduction
Chapter 2: Our First Program
Chapter 3: Types and Declarations
Chapter 4: Exercises
Chapter 5: Operators
Chapter 6: Expressions
Chapter 7: Statements
Chapter 8: Exercises
Chapter 9: Arrays
Chapter 10: Pointers
Chapter 11: Command-line Arguments
Chapter 12: Exercises
Chapter 13: Functions
Chapter 14: Exercises
Chapter 15: Structures
Chapter 16: Unions
Chapter 17: Conditional Expression
Chapter 18: Typedef
Chapter 19: Const Qualifier
Chapter 20: Enumerations
Chapter 21: Function Pointers
Chapter 22: Exercises
Chapter 23: Preprocessor
Chapter 24: Exercises
Chapter 25: Dynamic Memory Allocation
Chapter 26: Storage and Scope
Chapter 27: Exercises
Chapter 28: Standard Input and Output
Chapter 29: File Input and Output
Chapter 30: Exercises
Chapter 31: Header and Source Files
Part II: The C Standard Library. Chapter 32: Introduction to C Standard Library
Part III: Modern C Standards. Chapter 33: Introduction to C 11 Standards
Chapter 34: The C 17 Standard
Chapter 35: The Upcoming C2X Standard
Part IV: Dos and Don'ts. Chapter 36: Do Not Use the gets Function
Chapter 37: Initialize Variables Before Using Them
Chapter 38: Do Not Read Out of Bounds
Chapter 39: Do Not Free the Allocated Memory Twice
Chapter 40: Do Not Cast the Result of malloc
Chapter 41: Do Not Overflow a Signed Integer
Chapter 42: Cast a Pointer to void* When Printing Through printf
Chapter 43: Do Not Divide by Zero
Chapter 44: Where to Use Pointers?
Chapter 45: Prefer Functions to Function-like Macros
Chapter 46: Static Global Names
Chapter 47: What to Put in Header Files?
Part V: Appendices. Appendix A: Linkage
Appendix B: Time and Date
Appendix C: Bitwise Operators
Appendix D: Numeric Limits
Appendix E: Summary and Advice.
Excerpt
Loading Excerpt...
Author Notes
Loading Author Notes...
Reviews from GoodReads
Loading GoodReads Reviews.
Staff View
Loading Staff View.