Learn By Example: C++ Programming - 75 Solved Problems [Video]

3.7 (3 reviews total)
By Loonycorn
    What do you get with a Packt Subscription?

  • Instant access to this title and 7,500+ eBooks & Videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Free Chapter
    Introducing C++
About this video

Like a gruff uncle, C++ seems intimidating, when it’s just being helpful. These 75 examples will help you understand that. Let's parse that. C++ seems intimidating because all too often, what you see is not what you get. Usually, that's because C++ is trying to help you, but you don't realize that. This section is moving to C++ from C: If you are a C programmer, will run through what you need to know in order to move seamlessly to C++. Objects, Classes and Object-Oriented Programming: Access modifiers, classes, objects, the this pointer, new/delete and dynamic memory allocation gotchas. Operator overloading is a particularly complicated topic - C++ is virtually alone in the ubiquity of overloaded operators. Make sure this doesn't trip you up. Also go deep into the workings of const, static and friend. Inheritance in C++ is considerably more complicated than in Java, mostly because of multiple inheritances, and because of the co-existence of both virtual and non-virtual methods. Templates are a classic generic programming technique that was revolutionary when first added to C++. Understand template functions and classes, as well as template specializations. STL - the Standard Template Library - is incredibly powerful. Get a good sense of collections, iterators and algorithms - the major components of the STL. C++ casts are quite different than C-casts. Understand const_cast, static_cast and dynamic_cast, as well as Real Time Type Identification (RTTI), and the manner in which explicit conversions can be performed using static_cast. Exceptions and exception handling in C++.

Style and Approach

These 75 examples will help. Each is self-contained, has its source code attached, and gets across a specific C++ use-case. Each example is simple, but not simplistic.

Publication date:
January 2018
15 hours 52 minutes

About the Author
  • Loonycorn

    Loonycorn is Janani Ravi and Vitthal Srinivasan. Between them, they have studied at Stanford, been admitted to IIM Ahmedabad, and have spent years working in tech, in the Bay Area, New York, Singapore and Bangalore. Janani spent 7 years at Google (New York, Singapore); Studied at Stanford and also worked at Flipkart and Microsoft. Vitthal also worked at Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too. They think they might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why they are so excited to be here. They hope you will try their offerings, and you'll like them.

    Browse publications by this author
Latest Reviews (3 reviews total)
I haven't received my products.
Excellent didactics! Very good introduction into all important aspects of modern C++ for programmers of other languages. The tutor is explaining many details very slow, this might be boring sometimes but for beginners the perfect speed. The explanations go very deep and the author is asking (and answering!) the rights questions (e. g. const char* vs. char* const). The slides look strange first but are very supportive in the videos. The language of the teacher has a strong accent which is at the beginning sometimes difficult to understand as a non-native listener but you get used. The slides are included as PDF files. For beginners of C++ a clear recommendation.
Excellent, very good, satisfied
Recommended For You
Learn By Example: C++ Programming - 75 Solved Problems [Video]
Unlock this video and the full library FREE for 7 days
Start now