Skip to Content
Beginning C++
book

Beginning C++

by Ivor Horton
November 2014
Beginner content levelBeginner
632 pages
19h 31m
English
Apress
Content preview from Beginning C++

CHAPTER 2

image

Introducing Fundamental Types of Data

In this chapter, I’ll explain the fundamental data types that are built into C++. You’ll need these in every program. All of the object-oriented capability is founded on these fundamental data types, because all the data types that you create are ultimately defined in terms of the basic numerical data your computer works with. By the end of the chapter, you’ll be able to write a simple C++ program of the traditional form: input–process–output.

In this chapter, you’ll learn about

  • Data types in C++
  • How you declare and initialize variables
  • What literals are and how you define them
  • Binary and hexadecimal ...
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

Beginning C++

Beginning C++

Brian Foster
Advanced C++

Advanced C++

Gazihan Alankus, Olena Lizina, Rakesh Mane, Vivek Nagarajan, Brian Price
Expert C++

Expert C++

Vardan Grigoryan, Shunguang Wu

Publisher Resources

ISBN: 9781484200070Purchase book