C programming

Contents

C programming#

Lecture and facilitation notes for the C programming course at DTU.

        mindmap
  root((C))

    Conveyor Belt
      Input (scanf)
      Datatypes
      if / else

    Inventory Assistant
      Arrays
      for loops
      Indexing & iteration

    RPSSL Game
      switch
      enum
      Functions

    Bubble Sort
      Pass by-value, -reference
      Function pointer

    CLI Cryptography
      argc / argv
      Functions
      Header files

    CSV Filter
      File I/O
      fopen, fgets

    Balls Simulation
      struct & union
      Random numbers
      Ext. library integration

    FrankenText
      Static arrays with dynamic content
      Arrays of pointers
      String manipulation

    Playlist
      Linked list
      malloc & free

    Knight’s Tour
      Stack-based arrays
      Static and automatic variable

    Tooling & Workflow
      Editor
      Compiler
      Debugging
      Git
    

Credits#

Topics are partly based on the book C how to program by Deitel et al..