Skip to Main Content
C++ Programming: Visual QuickStart Guide
book

C++ Programming: Visual QuickStart Guide

by Larry Ullman, Andreas Signer
December 2005
Beginner content levelBeginner
528 pages
14h 13m
English
Peachpit Press
Content preview from C++ Programming: Visual QuickStart Guide

2. Simple Variables and Data Types

At their root, all applications do the same thing: they process data. Programming, then, is dictating what is done with what data. This perspective is relevant because to learn how to program in C++, you must first understand what the available data types are and how they are represented by variables. In this chapter, the most simple variable and data types are covered. These will be used over subsequent chapters as you begin to understand different ways to process information. In Chapter 6, “Complex Data Types,” and beyond, much more advanced data types and variables are covered.

We start with the basic syntax of variables: how to create them, how to assign them values, and how to print those values. Numeric ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C Programming: Visual Quickstart Guide

C Programming: Visual Quickstart Guide

Larry Ullman, Marc Liyanage

Publisher Resources

ISBN: 032135656XPurchase book