Join Peggy Fisher for an in-depth discussion in this video Structured data, part of Up and Running with C++.
- View Offline
- Exercise Files
…C++ provides the programmer with a powerful tool, called abstract…data types or ADT not to be confused with the…home security company, abstract data types are created by the…programmer and they consist of one or many primitive data types.…They are different from classes since they do not include any function definitions.…They only group, data items.…This is really useful, when we want to group the data together.…The abstraction allows us to create a general model of something.…For example, an employee structure data type might have an employee name.…An identifier, an hourly wage, a date of birth, and a mailing address.…Once we create this data structure, we…can create instances of the employee data type.…We can also use this data type in an array.…
Things to remember, to access data members use the dot operator.…To compare, two data structure instances, we…must compare each piece of data separately.…Finally, we can initialize a structure when we create it.…In this program, we're going to create a data structure of an employee.…
- 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.