× Successfully! Added to wish list

Learn By Example: C++ Programming

By: Loonycorn A 4-Ppl Team;ex-Google.

  • 5
  • (1)
  • 15:32:46
  • 102
  • 1
  • Language: English

Course Summary

Like a gruff uncle, C++ seems intimidating, when its 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 

Read More

Target Audience

  • Yep! Java and C# programmers - who understand Object Oriented Programming, but are new to C++
  • Yep! Folks with prior programming experience in C. No prior object oriented programming experience is needed

Pre-Requisites

  • Students should have an understanding of programming - concepts such as variables, loops and if-else statements will not be explained

Curriculum

  • Introducing C++
    02:19
  • Download for Sec 2
  • C and C++ - similar in some ways but actually very different
    14:05
  • C vs C++: Comments are different - and oh C++ has namespaces!
    11:38
  • Namespaces? Then we need a scope resolution operator
    09:08
  • Not just function overloading, C++ allows operator overloading as well!
    13:28
  • Default Values
    14:41
  • References, Const and Bool
    17:59
  • Download for Sec 3
  • Classes mean different things to different people!
    12:59
  • Classes - A logical grouping of data and functions
  • Example 1 and 2: Define a really simple C++ class and instantiate it
    14:16
  • Example 3: Invoke the member functions of an object
    14:34
  • Example 4 and 5: Setup and clean up using constructors and destructors
    18:08
  • Example 6: Access Modifiers
    19:36
  • Download for Sec 4
  • Example 7: Separating code into .cpp and .h files
    16:02
  • Example 7: Setting up dependencies with multiple files
    17:01
  • Download for Sec 5
  • Dynamic Memory Allocation
    17:44
  • C++ memory allocation explained
    05:57
  • Stop using malloc and free
    12:16
  • Do not mix new/delete for single variables with array equivalents new[]/delete[]
    10:25
  • Example 8 and 9: Stop using malloc and free, use new and delete instead!
    13:38
  • Example 10 and 11: Use new[] and delete [] for arrays - never mix new and new[]
    10:29
  • Example 12: The Placement new operator and the "this" pointer
    17:07
  • Download for Sec 6
  • The C++ string class
    04:21
  • Example 14: Strings
    04:37
  • Example 15: Inputing multiline strings
    05:45
  • Example 16: More common string operations
    15:12
  • Example 17: Comparing strings
    06:07
  • Example 18: Converting C++ to C strings (and vice versa)
    04:41
  • Download for Sec 7
  • The basic idea of references
    10:48
  • Example 19, 20 and 21: A simple reference, a const reference, and C++ swap
    09:35
  • Example 22, 23, 24, 25: Reference initialization, reassignment, aliasing, null
    14:56
  • Example 26, 27, 28, 29: References to pointers, references as return types
    12:37
  • Download for Sec 8
  • Example 30 and 31: The C++ const keyword
    13:44
  • Example 32: const char* or char* const?
    16:45
  • Example 33, 34, 35, 36: Const methods, mutable, overloading on const, const_cast
    16:15
  • Passing function parameters const references
    09:19
  • Example 37: Passing function parameters const references
    15:05
  • Download for Sec 9
    00:00
  • The basic idea of static in C++
    10:34
  • Example 38: Static member variables
    13:09
  • Example 39 and 40: Static member functions
    09:19
  • Example 41: const static member variables
    06:58
  • Download for Sec 10
    00:00
  • The basic idea of friends in C++
    09:53
  • Example 42: Friend functions
    19:49
  • Example 43: Friend classes
    07:09
  • Download for Sec 11
    00:00
  • Understanding operator overloading - internal and external operators
    15:56
  • Choosing between internal and external implementations
    09:22
  • Example 44: Overloading the += operator
    14:42
  • Example 45: Overloading the + operator
    12:59
  • Example 46: Overloading the ++ (and --) operators
    15:10
  • Example 47: Overloading the assignment operator
    19:49
  • Operator Overloading - Streams Flashback
    07:32
  • Example 48: Overloading the << and >> operators
    15:28
  • Download for Sec 12
    00:00
  • Understanding inheritance - Flashback to objects and classes
    08:01
  • Example 49 Understanding Inheritance
    18:52
  • Inheritance Explained - I
    07:44
  • Inheritance Explained - II
    06:45
  • Example 49: Access levels and inheritance types
    08:22
  • Example 49: Bringing all inheritance concepts together in code
    15:58
  • Examples 50, 51, 52: Types of inheritance
    18:13
  • Example 53: virtual functions
    16:32
  • Example 53 (continued)
    08:55
  • Example 54: pure virtual functions and abstract classes
    10:29
  • Example 55: Multiple Inheritance, and a Diamond Hierarchy
    15:31
  • Example 56: Virtual inheritance in a Diamond Hierarchy
    06:27
  • Example 57: Object Slicing
    05:43
  • Example 58: No virtual function calls in constructors or destructors!
    06:21
  • Example 59: Virtual destructors rock!
    03:58
  • Example 60: Why virtual functions should never have default parameters
    02:54
  • Example 61: The strange phenomenon of name hiding
    03:34
  • Example 62: Never redefine non-virtual base class methods
    03:14
  • Download for Sec 13
    00:00
  • Templates as a form of generic programming
    03:29
  • Example 63: A simple template function
    09:48
  • Example 64: Overriding a default template instantiation
    08:28
  • Example 65: A templated smart pointer class
    13:19
  • Example 66: Template Specialisation (partial or total)
    08:00
  • Download for Sec 14
    00:00
  • Introducing the Standard Template Library
    02:48
  • Example 67: The STL vector
    12:29
  • Example 68: Iterators
    08:29
  • Example 69: map, an associative container
    08:01
  • Example 70: STL algorithms
    10:20
  • Download for Sec 15
    00:00
  • C++ casts are way cooler than C casts
    05:16
  • Example 71: const_cast
    03:07
  • Example 72: dynamic_cast, and RTTI
    12:13
  • Example 73: static_cast, and the explicit keyword
    09:23
  • Download for Sec 16
    00:00
  • Exception handling and burglar alarms
    07:01
  • Example 74: Throwing exceptions
    06:01
  • Example 75: Handling exceptions with try/catch
    05:56

About the Author

Loonycorn A 4-Ppl Team;ex-Google.,

Loonycorn is us, Janani Ravi, Vitthal Srinivasan, Swetha Kolalapudi and Navdeep Singh. Between the four of us, we have studied at Stanford, IIM Ahmedabad, the IITs and have spent years (decades, actually) working in tech, in the Bay Area, New York, Singapore and Bangalore. Janani: 7 years at Google (New York, Singapore); Studied at Stanford; also worked at Flipkart and Microsoft Vitthal: Also Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too Swetha: Early Flipkart employee, IIM Ahmedabad and IIT Madras alum Navdeep: longtime Flipkart employee too, and IIT Guwahati alum We think we might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why we are so excited to be here on Unanth! We hope you will try our offerings, and think you'll like them :-)

More From Author

Reviews

Anuradha Banerjee
5

I used to feel that C++ is difficult to learn. But this course makes me understand the concepts to the root. Examples given are good. This is good starting point.

Learn By Example: C++ Programming

  • 15:32:46
  • 102
  • 1
  • Language: English
  • 15 days Money back Gurantee
  • Unlimited Access
  • Android, iPhone and iPad Access
  • Certificate of Completion

Course Summary

Like a gruff uncle, C++ seems intimidating, when its 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 

Read More

Target Audience

  • Yep! Java and C# programmers - who understand Object Oriented Programming, but are new to C++
  • Yep! Folks with prior programming experience in C. No prior object oriented programming experience is needed

Pre-Requisites

  • Yep! Java and C# programmers - who understand Object Oriented Programming, but are new to C++
  • Yep! Folks with prior programming experience in C. No prior object oriented programming experience is needed

About the Author

Loonycorn A 4-Ppl Team;ex-Google.,

Loonycorn is us, Janani Ravi, Vitthal Srinivasan, Swetha Kolalapudi and Navdeep Singh. Between the four of us, we have studied at Stanford, IIM Ahmedabad, the IITs and have spent years (decades, actually) working in tech, in the Bay Area, New York, Singapore and Bangalore. Janani: 7 years at Google (New York, Singapore); Studied at Stanford; also worked at Flipkart and Microsoft Vitthal: Also Google (Singapore) and studied at Stanford; Flipkart, Credit Suisse and INSEAD too Swetha: Early Flipkart employee, IIM Ahmedabad and IIT Madras alum Navdeep: longtime Flipkart employee too, and IIT Guwahati alum We think we might have hit upon a neat way of teaching complicated tech courses in a funny, practical, engaging way, which is why we are so excited to be here on Unanth! We hope you will try our offerings, and think you'll like them :-)

More From Author

Review & Rating

Anuradha Banerjee 5

I used to feel that C++ is difficult to learn. But this course makes me understand the concepts to the root. Examples given are good. This is good starting point.