Join Peggy Fisher for an in-depth discussion in this video Understanding data types, part of Up and Running with C++.
…Before, we can start making more advanced programs, we need…a way to capture and store data in our programs.…C++ is known as a strict data typing language, similar to Java.…For this course, we will be using seven different types of data.…These are known as primitive data types, as opposed to structured data.…They're stored by value and not by reference.…The first three are integer, long, and short.…These are numbers, that might appear in a number line.…Or maybe you want to count the number of cars, in a parking lot.…
How about the number of students, in a class?…Or maybe even the number of soda cans, in a case of soda.…These numbers do not have any decimal portion.…Next we have double and float.…These data types we'll use with a decimal portion.…These data types might hold values, that include decimal points…such as the number of ounces in a water bottle.…Or the value for the number pi 3.14 or 3.14159, how about a hourly wage?…When using measurements we often use a decimal point.…
The last two Character and Bool, character might represent…
- Downloading and exploring the C++ IDE
- Working with loops
- Using predefined functions
- Creating custom functions
- Creating and instantiating classes
- Working with external files
Skill Level Beginner
1. Getting Started
2. C++ Basics
3. Flow of Control
4. Classes and Objects
5. Data Structures
6. File Manipulation
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.