The book


"Learn to Program Using C++ on the Raspberry Pi" Revised Edition

by Phil Gardner



Expand your knowledge of computing and programming



Make your own lightning fast, stand-alone executable programs.




Zero-Index Technical Publishing - Devon, UK

ISBN: 978-0-9957918-1-7

A4 format paperback - 574 pages.

More than 200 programs included.

Over 300 screenshots and diagrams.

Typeset, printed and bound in Devon.


Fair-pricing - currently £17.50 on Amazon (free shipping in UK and USA).

Discounts for students at Raspberry-Pi meetings and for schools that buy in bulk (available in boxes of 9 copies).

Shipping via courier to your school can easily be arranged for you, to be delivered within 2 days.


In the spirit of the GNU project and the low-cost nature of the Raspberry Pi, I don't charge much for the book, despite it being larger than your average textbook. Any profits go back into the next batch to keep prices down and to cover donations to user-groups and school libraries.



Now available on Amazon and Etsy!





Revised Edition of "Learn to Program Using C++ on the Raspberry Pi"











Available on Amazon to the USA, UK and Europe



Also available on Etsy - UK special offer for Revised Edition...


Available directly by mail order and at selected Raspberry Pi/STEM events in the UK.

Enquiries: zero.index.publishing@gmail.com




Live in the USA or Canada?
Amazon now print your copy in the USA and ship to you directly - fast, cheap and without any delays getting through customs!

Alternatively, for other countries you can order on Etsy (the reduced listing costs help keep the price down and offset against postage).




Over 200 C++ programs for you to try, each illustrating important ideas and techniques.
Harness the power of C++ with the GNU Compiler Collection - already included for FREE on any Raspberry Pi that uses the Raspbian or Debian operating system.


Chapter 1: Getting things up and running.
Chapter 2: Writing simple code.
Chapter 3: Data-types and values.
Chapter 4: Keyboard input and screen output.
Chapter 5: Using operators to process data.
Chapter 6: Making decisions.
Chapter 7: Repetition using loops.
Chapter 8: Characters and text strings.
Chapter 9: Arrays of data.
Chapter 10: Functions.
Chapter 11: Files of data.
Chapter 12: Structures, pointers and memory.
Chapter 13: Objects and classes.



Full details of each chapter here.






End of chapter summaries, exercises and answers are included.

Screenshots, explanations and diagrams throughout to help you understand new ideas and to show you how each program works.

Appendices of useful information at the back of the book to help you write and debug your own C++ programs, including: ASCII codes, C++ reserved words, how to find common errors, useful Linux commands and compiler options, common colour codes, how to view programs as assembly source and machine code, glossary of terms.


Learn more about important computing topics along the way, including: compilers, low-level code, binary, hexadecimal, overflow, memory, sorting, searching.

Ideal for Raspberry Pi enthusiasts, hobbyists, students or teachers.

Most of the programs are suitable for beginners or anyone that has used other procedural programming languages.


No prior knowledge of programming necessary. If you have previously tried any programming in Python or any other language, this is an ideal next step... you'll be surprised at how fast simple programs can be executed by your Raspberry Pi.





Although written with the Raspberry Pi user in mind, the code may be compiled on any Ubuntu Linux machine or Apple Mac that has GCC installed. Some programs may also be used with the MinGW compiler for Microsoft Windows.