Skip to content
UdemyCPaid courseAll LevelsCertificate

Learn By Example: C++ Programming - 75 Solved Problems (Udemy.com)

C++ will never seem intimidating again, once you're done with these examples.

Created by: Loony Corn

Last updated September 2016

Our take

Based on the ratings of 357 students, a sample of their written reviews and the syllabus, as the course stood in September 2016. No course pays to be reviewed.

This is a 15.9 hour, 87 lecture tour of C++ by Loonycorn, the teaching duo of Janani Ravi and Vitthal Srinivasan. The requirements say plainly that variables, loops and if-else statements will not be explained, so it is aimed at people who already program. The syllabus moves from C to classes, new and delete, references, const, static and friend, then operator overloading, inheritance, templates, the STL, casts and exceptions. Inheritance is the biggest block at 18 lectures. About 5,200 students have enrolled.

Most reviewers like the pace and the logical order of topics. People coming from Java or C say it cleared up things they only half knew, and one calls it nice to watch on the train. The teaching is called clear and pleasant, though some find the repetition heavy. One reviewer counts 50 minutes on the basic idea of inheritance with no code. Others say the examples are simple and keep reusing the same complex number, name and shape code. A couple mention the accent and the looping background music.

The last update was September 2016, and the syllabus lists no quizzes, exercises or capstone. Still, the 4.3 average, with 168 five-star ratings out of 357, suggests most people got what they came for. Treat it as a steady explanation of how classes, overloading and templates behave, not as a project course. We'd point experienced programmers at it, and suggest they write practice programs of their own alongside.

Best forProgrammers coming from C, Java or C# who want the C++ object model explained slowly, with plenty of repetition.
Skip it ifYou want quizzes, coding exercises or a capstone project, or you are brand new to programming.

Pros

  • Topics follow a logical order, from C differences through classes to templates and the STL
  • Reviewers coming from Java or C say it clarified C++ ideas they only half knew
  • Covers const, static, friend and casts in their own short sections
  • Source code is attached to each example, so you can follow along

Cons

  • Repetitive lectures: one reviewer counts 50 minutes on basic inheritance with no code
  • Examples are simple and reuse the same few programs, and there are no quizzes or exercises
  • Last updated in 2016, and the STL and templates sections are short at about 40 minutes each
This course is excellent. It is well presented, clear communication and a lot of examples. The topics follow a logical order.
Carlos Pagan, a student

Listed as All Levels, but it assumes you already program in C, Java or C#. It will not teach loops or variables.

icon
What you will learn

  • Harness the full power of C++ without being intimidated by the language's complexities
  • Use inheritance, operator overloading, templates, STL and all major C++ language features

Course content

16 sections · 87 lectures · 16 hours of video

  1. 1Introducing C++ 1 free preview1 lecture · 2 min
  2. 2Moving from C to C++ 1 free preview6 lectures · 1.4 hours
  3. 3Objects and Classes 1 free preview6 lectures · 1.7 hours
  4. 4Multi-file Programs 2 free previews2 lectures · 33 min
  5. 5Dynamic Memory Allocation: new and delete 1 free preview7 lectures · 1.5 hours
  6. 6The C++ string Class 1 free preview6 lectures · 41 min
  7. 7References 1 free preview4 lectures · 48 min
  8. 8The const Keyword 1 free preview5 lectures · 1.2 hours
  9. 9The static Keyword 1 free preview4 lectures · 40 min
  10. 10The friend Keyword 1 free preview3 lectures · 37 min

Who it is for

The instructor says it suits

  • 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

What you need before you start

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

How it compares

Against the other 70 rated Udemy courses in C on CourseDuck:

  • Rating4.3 out of 5higher than 41% of them
  • Reviews357#33 of 71 by number of reviews
  • Length15.9 hourslonger than 73% of them
  • Last updatedSeptember 2016earlier than 94% of them

icon
Course Description

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 not what you get.
  • Usually, that's because C++ is trying to help you, but you don't realise that. C++ is incredibly deep, and it sometimes struggles to get you - the programmer - to understand what it's saying
  • 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.

What's Included:

  • Moving to C++ from C: If you are a C programmer, this section 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 inheritance, and because of the co-existence of both virtual and non-virtual methods.
  • Templates are a classic generic programming technique that were 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++

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Loony Corn

Loonycorn is us, Janani Ravi and Vitthal Srinivasan. Between us, we 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: 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

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 Udemy!

We hope you will try our offerings, and think you'll like them :-)

icon
More courses by Loony Corn

$94.99

$59.99

$14.99

$79.99

$54.99

$13.99

icon
More C courses

$84.99

$149.99

$94.99

$10.99

Free

$64.99

icon
Reviews

4.3

357 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Eric Zhang on 5/24/2020

Pros: content is generally helpful Cons: some lectures are tediously long and unnecessary, instructors can be extremely repetitive, for example from lecture 53 to 57, a total length of 50 mins is devoted to explain the concept of class inheritance(no coding involved at all), I'm not sure why the creators of this course think someone knew how to program in C needs 50 mins to grasp the concept of cat belongs to mammal, mammal includes cat.

By Andrew Hong Nguyen on 2/24/2018

I'm primarily using this course to review. Certain pieces of information that are delivered are slightly vague and not completely accurate. For example, "anytime you need to create an array of any type, just use new []". Technically, you can create an array using new[], but based on the wording, you don't have to use new[]. It could just be a fixed array and thus allocate on the stack rather than dynamically on the heap. In this sense, the vague shortcut type of language doesn't exactly explain well when to use one over the other and simply states "just use new[]". This somewhat sloppy language was demonstrated in many other portions of the video. Aside from that, the presenter gave clear conceptual explanations of many of the concepts.

By Izzy H on 1/16/2018

This is the first time I comment on Udemy because this course is simply fantastic. It's meant for programmers who already know how to code and want to jump into C++. Most courses waste your time with syntax variables and while loops and leave you wondering how C++ is any different, but this course actually teaches you the fundamentals of C++ and its most important parts. What I really liked about this course is that the instructor, clearly very experienced, knows what matters and what to leave off, because the language is humongous and can quickly get you lost in details and make you forget the big picture. Instructor also knows exactly what trips up programmers when they first approach C++, addresses concerns quickly as they arise and further advises you on how to avoid the language pitfalls. Overall, I am glad I found this course, I can now at least read source code written in C++. I hope the instructors make more courses like this or start a series and add more advanced features of the language, I will gladly pay for it! Thank you very much for quality content!

By Tulasi Das on 10/31/2017

I haven't used C++ in a while, so though of taking this course as a refresher. Pros: 1. Explanation of the concepts is clear 2. Many a times the authors self cite their contents for reference 3. Stick to few examples and tried to explain every details connected with it. 4. Almost all of C++ topics are covered Cons: 1. I found the course presentation is super slow The con didn't hurt me much as I sped up to 1.5x. In short, nice course to grasp lot of concepts. For beginners, the amount of explanation done, sometimes, could be too much. So, it will make sense once you implement on your own and go through the videos once again. For intermediate users, it could be a great place to get answers to a lot of whys' in C++. Thanks!!!

By Shashikanth Lakshmikantha on 9/24/2017

First off, the course is an awesome summary of the main features of C++. Thanks for putting it together. Second, these are the good things: + Touches all the commonly encountered usage patterns in C++ + The teach-by-example is an awesome idea! Third, these are the things I would probably add: + Inheritance and templates require the most concentration. So, some additional examples would help re-inforce the concepts. + I would pay for a separate course just for using the STL apis for data structure and algorithms....another commonly encountered topic in C++ Thanks once again for the course!

By Six Letters on 1/14/2017

Cplusplus is a horrible language to understand, and this makes it difficult to learn. This course covers it in EXCRUTIATING detail, but with extreamly clear and well chosen examples; covering the language, its oddities, and its horrors. It also includes some mention of C, which helps explain how Cpp 'developed'. However, the presentation can seem a little slow, and the graphics a bit crude. but this is a small price to pay for such clarity of content, and in the long run the best way to deal with a tangled mess is methodically. Easily the best Cpp course I've found.

By S.K. Thoth on 11/8/2016

I took this course expecting to learn some really interesting examples of C++ coding. I didn't. The complex number code and the name code and the shape code were the only examples used over and over throughout the lectures. In the end, I don't feel that I gained as much experience with C++ coding examples as I thought I would with the title claiming as such. I enjoyed the lovely voices of both teachers and felt they were very knowledgeable. On my part, I copied and worked out every example. However, now, having finished the course, I cannot say I have grasped the basic reasons for using any of the most important objects in C++ ie. pointers, references, const, et al. If I redo the course, do I feel that – because of the density of the material – I would find more to help me? I don't think so. I actually feel that no matter how many times I repeat the course, I will still be left with the feeling that I'm missing something that would help me bridge my creative mind to the intellectual underpinnings of C++ code. Thus, I still have no idea how to proceed with all I've learned, except by seeking out other teachers who may offer my creative mind the inspiration and examples to program what I want.

By Daniel U on 10/10/2016

One of the best online courses I've taken. I haven't completed the entire course yet, but that's only because I'm using it as a supplement to what I'm currently covering in my university programming courses. But, the instruction here is far better than what I'm paying for at school. Excellent job! I know some people have mentioned the repetition and lack of code writing on screen, but there's a reason for both. As far as the repetition, if you want to understand all of the concepts then you have to get the explanation of why things work the way they do and how they fit in with other things. I've found that with some parts of C++, such as operator overloading, it takes several times of repeating certain points before they make complete sense. The presenter does an excellent job of explaining concepts and seems to be extremely knowledgeable. And as far as the coding on screen bit, gaining an in depth understanding the concepts is far more useful than watching code being typed out. If you want to see that, I'm sure you can find videos on youtube. Personally, I greatly prefer the deep explanations of the concepts to seeing someone typing out code and not really explaining why things work the way they do. After I finish my university course this term, I'll go through and complete this course in its entirety. I also plan on purchasing the C course from Loony Corn. As, a matter of fact, I'd feel comfortable buying any of the courses they offer.

By Praveen Sharma on 3/14/2016

Great course. This is really helping me not only to recollect and revise the stuff I worked long back but in fact getting a better understanding. I tried going through the theory but that did not help much. Am example based approach is really helping . I will update the feedback further as I proceed. Adding further after completing more chapters- I stand by what I said earlier. Even in case of complex topics like Virtual functions and inheritance, the manner of explanation along with logical breakdown of concepts has helped me a lot.

By Mackenzie Clark on 3/7/2016

This course has the target spot on. People with some experience in programming (C, C#, Java, JavaScript) and want to learn C++. This language is full of little details and gotchas, and this course is excellent at explaining them! I feel like I am learning and understanding C++ well. Whenever I get confused, the lecture always seems to acknowledge what is confusing, and follow up with counter example or elaboration. It always seems to surprise me with something interesting, or a different perspective. Possibly it is because C++ is by nature, a really complicated, powerful language with lots of corner cases. I really feel like a much stronger programmer now, and worry that I will begin to hate every other language because C++ has a lot more flexibility in someways. Not to say that I don't dislike C++, because there are certainly things I learned about that I dislike very much (e.g. multiple inheritance, ick!). This whole course is well put together, and certainly has a bit of humor too. I've kept this course on 2x speed the whole time. Good job!

Showing all 10 reviews on CourseDuck

Read all 357 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 86 / 100