Course: OOP in C++
duration: 9 hours |
Language: English (US) |
access duration: 90 days |
Details
C++ is an object-oriented programming (OOP) language. It is a programming language in which developers design real-world objects, create classes and implement objects of classes.
In this course you will:
- learn how the OOP approach works at the conceptual level;
- practice with implementing objects into classes and applying simple operations to the objects;
- explore the important aspects of constructor syntax and learn how to link different constructors;
- learn to access member variables from member functions and learn how to mark a member variable within a class as a static one;
- get introduced to using and defining a destructor;
- practice using namespaces to modulate your code.
Result
At the end of this course, you will be familiar with OOP in C++. You will know how to design real objects, how to create classes and how to implement objects of classes. You will also be able to initiate variables correctly using initialization lists.
Prerequisites
Experience with programming in C is required.
Target audience
Software Developer, Web Developer
Content
OOP in C++
OOP in C++: Getting Started with Object-oriented Programming
C++ is an object-oriented programming (OOP) language wherein
- developers model real-world entities, create classes, and
- instantiate objects of classes. In this course, learn how the
- object-oriented programming approach functions at a conceptual
- level. Discover how class act effectively as blueprints and explore
- member variables. Then, examine class definitions in your C++
- programs and practice instantiating objects of those classes. Next,
- learn how to perform simple operations on those objects, invoke
- methods on them, and access and examine their member variables.
- Finally, learn how to modularize your code and declare a class in
- the header file. After completion of the course, you’ll be able to
- define classes, instantiate objects, and split class implementation
- and declaration.
OOP in C++: Instantiating Objects Using Constructors
A constructor is a special method of a class invoked when an
- object of that class is created. Constructors have a fair bit of
- complexity, and can be chained to achieve code reuse and marked as
- explicit to avoid unexpected type promotions and object creation.
- In this course, examine the important aspects of constructor
- syntax, such as specifying default arguments and correctly using
- initialization lists. Next, learn how to chain constructors and
- retain most of the code functionality in one constructor. Finally,
- learn how constructors might be invoked automatically by the C++
- runtime to create objects for method invocations. After completion
- of the course, you’ll be able to correctly initialize variables
- using initialization lists, connect constructors using constructor
- chaining, and create structs.
OOP in C++: Using the this Pointer & const Members
When a member function is invoked on a particular object, that
- object is known as the receiver. Within the body of the member
- function, you can access the member variables of the receiver using
- the "this" pointer. In this course, discover how the this pointer
- works and practice using it to access states. Next, learn about
- constness in object-oriented programming and the restrictions for
- what such methods can do. Finally, learn how to use the mutable
- keyword to mitigate constness. After completion of the course,
- you’ll be able to access member variables from within member
- functions, create const and non-const objects and functions, and
- use the mutable specification to identify states that can be
- changed without changing the meaning of the object.
OOP in C++: Using Static Members & Destructors
Static means something different in C++ compared to C. In C,
- static refers to a storage class for storing specific types of
- variables. In C++, static refers to member functions and variables
- associated with the entire class. In this course, learn how to mark
- a member variable within a class as static, initialize a static
- member variable, and access it from methods within and outside the
- class. Next, discover how static member functions can be used for
- class-level behavior. Finally, learn how to define and use a
- destructor. After completion of the course, you’ll be able to
- create and use static variables, access them using the scope
- resolution operator, and instantiate and deallocate a pointer in
- constructors and destructors.
OOP in C++: Copy Constructors, Nested Classes, & Namespaces
A copy constructor in C++ classes is a specialized method used
- to create an object from another object of the same class. Other
- specialized C++ methods include nested classes and namespaces,
- which organize different classes in a logical and coherent manner
- while avoiding name conflicts. In this course, learn how to specify
- and use a copy constructor. Next, discover how classes and
- functions can be marked as friends. Finally, examine how nested
- classes can be defined and used in C++ and practice using
- namespaces to modularize your code. After completion of the course,
- you’ll be able to create and implement a custom copy constructor,
- access private variables using friend functions and classes, and
- store functions and classes in namespaces.
Course options
We offer several optional training products to enhance your learning experience. If you are planning to use our training course in preperation for an official exam then whe highly recommend using these optional training products to ensure an optimal learning experience. Sometimes there is only a practice exam or/and practice lab available.
Optional practice exam (trial exam)
To supplement this training course you may add a special practice exam. This practice exam comprises a number of trial exams which are very similar to the real exam, both in terms of form and content. This is the ultimate way to test whether you are ready for the exam.
Optional practice lab
To supplement this training course you may add a special practice lab. You perform the tasks on real hardware and/or software applicable to your Lab. The labs are fully hosted in our cloud. The only thing you need to use our practice labs is a web browser. In the LiveLab environment you will find exercises which you can start immediately. The lab enviromentconsist of complete networks containing for example, clients, servers,etc. This is the ultimate way to gain extensive hands-on experience.
Sign In
WHY_ICTTRAININGEN
Via ons opleidingsconcept bespaar je tot 80% op trainingen
Start met leren wanneer je wilt. Je bepaalt zelf het gewenste tempo
Spar met medecursisten en profileer je als autoriteit in je vakgebied.
Ontvang na succesvolle afronding van je cursus het officiële certificaat van deelname van Icttrainingen.nl
Krijg inzicht in uitgebreide voortgangsinformatie van jezelf of je medewerkers
Kennis opdoen met interactieve e-learning en uitgebreide praktijkopdrachten door gecertificeerde docenten
Orderproces
Once we have processed your order and payment, we will give you access to your courses. If you still have any questions about our ordering process, please refer to the button below.
read more about the order process
Een zakelijk account aanmaken
Wanneer u besteld namens uw bedrijf doet u er goed aan om aan zakelijk account bij ons aan te maken. Tijdens het registratieproces kunt u hiervoor kiezen. U heeft vervolgens de mogelijkheden om de bedrijfsgegevens in te voeren, een referentie en een afwijkend factuuradres toe te voegen.
Betaalmogelijkheden
U heeft bij ons diverse betaalmogelijkheden. Bij alle betaalopties ontvangt u sowieso een factuur na de bestelling. Gaat uw werkgever betalen, dan kiest u voor betaling per factuur.
Cursisten aanmaken
Als u een zakelijk account heeft aangemaakt dan heeft u de optie om cursisten/medewerkers aan te maken onder uw account. Als u dus meerdere trainingen koopt, kunt u cursisten aanmaken en deze vervolgens uitdelen aan uw collega’s. De cursisten krijgen een e-mail met inloggegevens wanneer zij worden aangemaakt en wanneer zij een training hebben gekregen.
Voortgangsinformatie
Met een zakelijk account bent u automatisch beheerder van uw organisatie en kunt u naast cursisten ook managers aanmaken. Beheerders en managers kunnen tevens voortgang inzien van alle cursisten binnen uw organisatie.
What is included?
Certificate of participation | Yes |
Monitor Progress | Yes |
Award Winning E-learning | Yes |
Mobile ready | Yes |
Sharing knowledge | Unlimited access to our IT professionals community |
Study advice | Our consultants are here for you to advice about your study career and options |
Study materials | Certified teachers with in depth knowledge about the subject. |
Service | World's best service |
Platform
Na bestelling van je training krijg je toegang tot ons innovatieve leerplatform. Hier vind je al je gekochte (of gevolgde) trainingen, kan je eventueel cursisten aanmaken en krijg je toegang tot uitgebreide voortgangsinformatie.
FAQ
Niet gevonden wat je zocht? Bekijk alle vragen of neem contact op.