Skip to Main Content
Practical C++
book

Practical C++

by Rob McGregor
August 1999
Beginner to intermediate content levelBeginner to intermediate
912 pages
15h 44m
English
Que
Content preview from Practical C++

Chapter 2. Exploring C++ Data Types, Variables, and Constants

<feature>
  • Explore the fundamental data types

  • Get acquainted with derived data types

  • Learn to use variables and constants antonyms from the thesaurus

  • Discover how to resolve the scope of variables and constants

  • Understand declarations and definitions

  • See how to cast data types

</feature>

Understanding C++ Data Types

At its most basic level, a computer program performs an operation on some data and produces a result. Because C++ is a strongly typed language, each piece of data—that is, each data element—must have a specific data type. Technically speaking, a data type describes a set of values and the operations that can be applied to that set. In layman’s terms, a data type determines how the ...

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

Practical C++ Programming, 2nd Edition

Practical C++ Programming, 2nd Edition

Steve Oualline
C++ Cookbook

C++ Cookbook

D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell

Publisher Resources

ISBN: 0789721449Purchase book