Toggle navigation sidebar
Toggle in-page Table of Contents
Snefru: Learning Programming with C
Snefru: Learning Programming with C
Preface
What about programming?
Principles of using this textbook
Book Chapters
1. Introduction to Programming Computers
1.1. The Basic Structure of Computers
1.2. Binary representation in memory
1.3. Development Cycle
1.4. Write Simple C Programs
2. Data representation and operations
2.1. Double data type for real numbers
2.2. Data types and representation
2.3. Operations
2.4. Math library
2.5. Random numbers
2.6. Exercises
3. Decision-Making Statements
3.1. If-statements
3.2. Multiple Conditions
3.3. Nested-if statements
3.4. Exercises
4. Repetition
4.1. While Loop
4.2. Do-while loop
4.3. For loops
4.4. Nested loops
4.5. Debugging for loops
4.6. Exercises
5. Functions
5.1. Functions
5.2. Communicate from a function
5.3. Variable scope
5.4. Pass more values to a function
5.5. Exercises
6. Pointers
6.1. Why do we need pointers?
6.2. What are pointers?
6.3. How to use pointers to communicate more with functions?
6.4. Rules defining scope of variables
7. Arrays
8. Dynamic Memory Allocation
9. Strings
10. Recursion
11. Data Structures
12. Linked Lists
13. Searching
14. Sorting
15. Binary search trees
Appendix: Additional information
Appendix: Additional Resources
Linux Basics
Set up Visual Studio Code
More Extensions in VS Code
Compile and Run
Coding style
Debugging
repository
open issue
.md
.pdf
Data Structures
11.
Data Structures
#
In-progress!