We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

Cover of Essentials - Learn to Code with C

Essentials - Learn to Code with C

or free PDF download

The C programming language been used to program everything from the tiny microcontrollers used in watches and toasters up to huge software systems – most of Linux (and Raspbian itself) is written in it. Learn to code with C on your Raspberry Pi across 13 packed chapters:

  • Create variables & do arithmetic
  • Control the flow of your C programs
  • For loops and case statements
  • Understand and create functions
  • Work with arrays and strings
  • Interpreting user input
  • and much more

Errata

Errata for this book can be found on the Raspberry Pi forum.

If you spot any errors in our books or magazines please email  us via errata@raspberrypi.org.

Learn to Code with C is freely licensed under Creative Commons (BY-SA-NC 3.0).

You can download this eBook free now and forever, but buying in print or digital supports the Raspberry Pi Foundation’s charitable mission.

Print Subscriptions

12 month recurring subscription

  • 12 issues per year
  • Free Raspberry Pi Pico 2 W (or Pico 2) *
  • Up to to 23% cheaper
  • Free delivery to your door
  • Available worldwide

*Free Raspberry Pi Pico W with first subscription (renewals not included)

From £55

£10 for 3 issues

  • £10 for 3 issues paid by Direct Debit
  • Free Pico 2 W (or Pico 2)
  • Renews at £15 every 3 issues
  • Cancel at any time
  • Free delivery to your door
  • UK only
From £10

6 month recurring subscription

  • Free delivery to your door
  • Available worldwide
  • Free Pico 2 W (or Pico 2)
  • Cheaper than newsstand
  • Cancel at any time
From £30

Digital Subscriptions

App Store

  • Free to download & 30 free issues
  • Best mobile reading experience
  • Read news straight from the app
  • Buy issues or subscribe from £2.49
From £3

Google Play

  • Free to download & 30 free issues
  • Best mobile reading experience
  • Read news straight from the app
  • Buy issues or subscribe from £2.49
From £3

Free PDF Edition

  • Delivered to your inbox
  • Optimised for screens
  • Clickable web links
  • Occasional news updates
Free

Sign up to the newsletter

Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.