Learn to Code with C
eBook - ePub

Learn to Code with C

Program with the world's most popular language on your Raspberry Pi

  1. 88 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learn to Code with C

Program with the world's most popular language on your Raspberry Pi

About this book

The C programming language was invented in the early 1970s, and since then has become one of the most popular and widely used general-purpose languages. It's used by a wide range of programmers, from amateurs working on simple projects at home, to industry professionals who write in C for a living. It's been used to program everything from the tiny microcontrollers used in watches and toasters up to huge software systems - most of Linux (and Raspberry Pi OS itself) is written in it. It can give you control over the smallest details of how a processor operates, but is still simple to learn and read.

C is a very powerful language – there's not much you can't use it for – but it's fairly simple. The language itself only has 20 or so keywords, but there's a huge library of additional functions that you can call in when you need them.

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

This book is an introduction to programming in C for absolute beginners; you don't need any previous programming experience, and a Raspberry Pi running Raspberry Pi OS is all you need to get started.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Learn to Code with C by Simon Long in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Contents
  3. [ Chapter One ] Getting Started: What’s so great about C?
  4. [ Chapter Two ] Variables & Arithmetic: Create variables and do maths
  5. [ Chapter Three ] Conditions & Comparisons: Control the flow of your C programs
  6. [ Chapter Four ] More Advanced Flow Control: For loops and case statements
  7. [ Chapter Five ] Pointers: Variables have addresses too
  8. [ Chapter Six ] Functions: Split your code into bite-sized chunks
  9. [ Chapter Seven ] Arrays & Strings: Handle lists of values, and letters
  10. [ Chapter Eight ] The String Library: Simplify common operations on strings
  11. [ Chapter Nine ] User Input: Reading and interpreting user input
  12. [ Chapter Ten ] File Input and Output: Learn to read from and write to files
  13. [ Chapter Eleven ] More about Types and Variables: Type definitions, enumerations & more
  14. [ Chapter Twelve ] Header Files and the Preprocessor: Splitting code up into multiple files
  15. [ Chapter Thirteen ] Quick Reference: Cheat sheets and code examples
  16. Back Cover