C++ Classes and Objects
Offered By: Coursera Project Network via Coursera
Course Description
Overview
In this project you will create an application that defines a Car class and create one to many Car objects using C++.
Object Oriented programming is advantageous because it allows the programmer to think in terms of the way people think of the real world, in terms of Objects like employees, airplanes, and homes for example. In procedural programming, the programmer tends to think more in terms of procedures or functions. In Object-Oriented Programming in a language such as C++, Classes and Objects are often used interchangeably but there is a distinction between the two. A class is a blueprint for objects. An automobile may come in many different makes, colors, and models, but each car object has those same attributes. A Car class then contains the common attributes all cars have; color, make and model. When an Object of a Car is made from the Car class, it is then assigned a specific color, such as a red Nissan Sentra or a blue Toyota Camry.
Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.
Object Oriented programming is advantageous because it allows the programmer to think in terms of the way people think of the real world, in terms of Objects like employees, airplanes, and homes for example. In procedural programming, the programmer tends to think more in terms of procedures or functions. In Object-Oriented Programming in a language such as C++, Classes and Objects are often used interchangeably but there is a distinction between the two. A class is a blueprint for objects. An automobile may come in many different makes, colors, and models, but each car object has those same attributes. A Car class then contains the common attributes all cars have; color, make and model. When an Object of a Car is made from the Car class, it is then assigned a specific color, such as a red Nissan Sentra or a blue Toyota Camry.
Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.
Syllabus
- C++ Classes and Objects
- In this project you will create an application that defines a Car class and create one to many Car objects using C++.
Object Oriented programming is advantageous because it allows the programmer to think in terms of the way people think of the real world, in terms of Objects like employees, airplanes, and homes for example. In procedural programming, the programmer tends to think more in terms of procedures or functions. In Object-Oriented Programming in a language such as C++, Classes and Objects are often used interchangeably but there is a distinction between the two. A class is a blueprint for objects. An automobile may come in many different makes, colors, and models, but each car object has those same attributes. A Car class then contains the common attributes all cars have; color, make and model. When an Object of a Car is made from the Car class, it is then assigned a specific color, such as a red Nissan Sentra or a blue Toyota Camry.
Taught by
David Dalsveen
Related Courses
Basics in computer visionHigher School of Economics via Coursera Build a Guessing Game Application using C++
Coursera Project Network via Coursera С/C++ for competitive programming
Moscow Institute of Physics and Technology via Coursera C++ Interacting with the World and Error Handling
Infosec via Coursera C++ Lab Content
Infosec via Coursera