Think C++

by Allen Downey

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

Think C++ is an introduction to programming using the C++ programming language. I originally wrote it to help students prepare for the Computer Science AP exam (when the exam was in C++).

This open book is licensed under a Creative Commons License (CC BY-NC). You can download Think C++ ebook for free in PDF format (0.9 MB).

Table of Contents

Chapter 1
The way of the program
1
Chapter 2
Variables and types
11
Chapter 3
Function
21
Chapter 4
Conditionals and recursion
33
Chapter 5
Fruitful functions
41
Chapter 6
Iteration
55
Chapter 7
Strings and things
67
Chapter 8
Structures
77
Chapter 9
More structures
89
Chapter 10
Vectors
99
Chapter 11
Member functions
111
Chapter 12
Vectors of Objects
123
Chapter 13
Objects of Vectors
137
Chapter 14
Classes and invariants
149
Chapter 15
File Input/Output and apmatrixes
161
Appendix A
Quick reference for AP classes
175

Book Details

Subject
Computer Science
Publisher
Green Tea Press
Published
1999
Pages
191
Edition
1
Language
English
PDF Size
0.9 MB
License
CC BY-NC

Related Books

Computational Thinking Education
This book offers a comprehensive guide, covering every important aspect of computational thinking education. It provides an in-depth discussion of computational thinking, including the notion of perceiving computational thinking practices as ways of mapping models from the abstraction of data and process structures to natural phenomena. Further, it...
Think Python
If you want to learn how to program, working with Python is an excellent way to start. This hands-on guide takes you through the language a step at a time, beginning with basic programming concepts before moving on to functions, recursion, data structures, and object-oriented design. This second edition and its supporting code have been updated for...
Early Geometrical Thinking in the Environment of Patterns, Mosaics and Isometries
This book discusses the learning and teaching of geometry, with a special focus on kindergarten and primary education. It examines important new trends and developments in research and practice, and emphasizes theoretical, empirical and developmental issues. Further, it discusses various topics, including curriculum studies and implementation, spat...
IEA International Computer and Information Literacy Study 2018 Assessment Framework
This free book presents the assessment framework for IEA's International Computer an Information Literacy Study (ICILS) 2018, which is designed to assess how well students are prepared for study, work and life in a digital world. The study measures international differences in students' computer and information literacy (CIL): their ability to use ...
Pro TBB
This book is a modern guide for all C++ programmers to learn Threading Building Blocks (TBB). Written by TBB and parallel programming experts, this book reflects their collective decades of experience in developing and teaching parallel programming with TBB, offering their insights in an approachable manner. Throughout the book the authors present ...
Early Algebra
This survey of the state of the art on research in early algebra traces the evolution of a relatively new field of research and teaching practice. With its focus on the younger student, aged from about 6 years up to 12 years, this volume reveals the nature of the research that has been carried out in early algebra and how it has shaped the growth o...