Programming with C

From Juneday education
Jump to: navigation, search

Introduction

Regards from the authors: Rikard Fröberg and Henrik Sandklef

Before reading this book

Intended audience

Requirements

This book assumes you have access to a computer with a terminal capable of (and configured to) running bash (see installation instructions). The focus will be on developing C applications using the command line and an editor. It is possible to use an IDE for the exercises but the exercise instructions will focus on instructions for creating, compiling and running the exercises from the command line. Of course, it is also assumed that you have a C compiler installed.

You don't need to install anything right now. As soon as the book requires you to use a computer with any of the tools above we provide installation and setting up instructions.

Chapters

An introduction to C ()

  1. Computer introduction (finished)
    Number of pages: 13 number of exercises: 43 Number of videos: 5
  2. Programming introduction (finished)
    Number of pages: 6 number of exercises: 1 Number of videos: 2
  3. Setting up your C development environment (finished)
    Number of pages: 0 number of exercises: 0 Number of videos: 0
  4. Programming in C
    Number of pages: 0 number of exercises: 0 Number of videos: 0
  5. Our first C program (finished)
    Number of pages: 0 number of exercises: 0 Number of videos: 0
  6. Variables and types in C (finished)
    Number of pages: 12 number of exercises: 28 Number of videos: 6
  7. Expressions and operators in C (finished)
    Number of pages: 14 number of exercises: 27 Number of videos: 2
  8. Control flow in C (finished)
    Number of pages: 13 number of exercises: 16 Number of videos: 5
  9. Functions (finished)
    Number of pages: 23 number of exercises: 27 Number of videos:
  10. C source code tbd
  11. C build tools tbd
  12. C Macros, tbd
  13. C struct tbd
  14. C IO tbd
  15. Chapter:Error handling in C (finished)
    Number of pages: 11 number of exercises: 12 Number of videos:
  16. C pointers (finished)
    Number of pages: 22 number of exercises: 42 Number of videos:
  17. C Dynamic memory (finished)
    Number of pages: 21 number of exercises: 17 Number of videos:
  18. const tbd
  19. static tbd
  20. Testing under construction
  21. Debug tbd
  22. C Macros, tbd
  23. C libraries tbd
  24. C memory tools under construction

Handin assignments

  1. Assignment #01 Command line calculator pt I
  2. Assignment #02 Command line calculator pt II
  3. Assignment #03 Command line calculator pt III
  4. Assignment #04 Grep

--

  1. union (NEW!)
  2. enum (NEW!)
  3. C function pointers (NEW!)