CyberStars

C

How a program really works underneath: pointers, recursion, memory you manage by hand, linked lists and files, then a full tour of the operating system: system calls, processes, exec, pipes, signals, threads, deadlock, and the scheduling and memory algorithms behind them, ending with a shell of your own.

Chapters

  1. Print
  2. Variables (Integers)
  3. Variables (Floats)
  4. Comments
  5. Recap: Road Trip Calculator
  6. If/Else
  7. If/Else If/Else
  8. For Loops
  9. Recap: FizzBuzz
  10. While Loops
  11. Functions
  12. Input
  13. Do-While Loops
  14. Recap: Mini Calculator
  15. Operators
  16. Booleans
  17. The Ternary Operator
  18. Strings
  19. Characters and ASCII
  20. Recap: Password Validator
  21. Arrays
  22. Looping over Arrays
  23. Break and Continue
  24. Recap: Grade Analyzer
  25. Recursion
  26. Recursion with Arrays
  27. Scope and static
  28. Recap: The Call Counter
  29. Nested Loops
  30. 2D Arrays
  31. Pointers
  32. Pointers and Functions
  33. Recap: Matrix Stats
  34. Pointers and Arrays
  35. String Functions
  36. Reading Until the End of Input
  37. Splitting a Line with strtok
  38. Text to Number
  39. Recap: The Operator Console
  40. Structs
  41. Structs and Pointers
  42. Recap: Contact Book
  43. Dynamic Memory
  44. Growing Memory with realloc
  45. Linked List
  46. Linked List: Insert and Delete
  47. Enums
  48. Typedef
  49. Recap: Task Manager
  50. Function Pointers
  51. Sorting with qsort
  52. Preprocessor
  53. File I/O
  54. Bitwise Operators
  55. Reading Compiler Errors
  56. Recap: Config & Permissions
  57. OS: Processes
  58. OS: System Calls
  59. OS: open, read and write
  60. OS: Moving Around a File with lseek
  61. OS: When a System Call Fails
  62. OS: File Information with stat
  63. OS: Reading a Directory
  64. Recap: The Tape Library Console
  65. OS: Fork
  66. OS: Exit Status and waitpid
  67. OS: Running Another Program with exec
  68. OS: Zombies and Orphans
  69. OS: Many Children at Once
  70. OS: Environment Variables
  71. Recap: The Morning Checks
  72. OS: Pipes
  73. OS: Redirecting with dup2
  74. OS: Building a Pipeline
  75. OS: Named Pipes
  76. OS: Shared Memory with mmap
  77. Recap: The Relay Station
  78. OS: Signals
  79. OS: sigaction and Blocking Signals
  80. OS: Timers with alarm
  81. OS: SIGCHLD
  82. Recap: The Deadline
  83. OS: Threads
  84. OS: Giving Data to Threads
  85. OS: Semaphores
  86. OS: Semaphore Signalling
  87. OS: Condition Variables
  88. OS: Producer and Consumer
  89. OS: Deadlock
  90. OS: The Banker's Algorithm
  91. Recap: Parallel Word Counter
  92. OS: Scheduling with FCFS
  93. OS: Shortest Job First
  94. OS: Round Robin
  95. OS: Priority Scheduling
  96. Recap: The Scheduler Contest
  97. OS: Paging
  98. OS: Page Replacement with FIFO
  99. OS: Page Replacement with LRU
  100. OS: Disk Scheduling
  101. Recap: The Virtual Memory
  102. Project: Student Database
  103. Project: Mini Shell
  104. Project: Library Catalog
  105. Project: A Shell with Pipes
  106. Project: Job Scheduler