learning-cpp
Notes from different sources I am using to learn cpp.
1. C++ Fundamentals Including C++ 17 (Kate Gregory)
UPenn CIS 190, C++ Programming
2.-
Homework 1
- Overloading of
>>
and<<
operator (return types,const
ness). - Return types of overloaded operators (why
+=
should return a self reference) iostream
,fstream
- Overloading of
-
Homework 2
- Core Concepts: Abstract Classes, Polymorphism, Inheritence
- C++:
virtual
,pure virtual
,protected
,std::initializer_list
-
Homework 3
- Core concepts: Rule of five, move semantics, valgrind
- C++:
lvalue
,rvalue
,lvalue reference
,rvalue reference
,std::move
-
Homework 4
Caltech CS11 -- Advanced C++ 11
3.- Lab 1: Regular Expressions
- Lesson: If you intend a base class to declare a function (with NO implementation) and expect the derived class to provide the implementation, you have to define that function as pure virtual function, virtual alone will throw linking errors.
- There's also a few things about virtual destructors that I don't fully understand yet. Go read it up.
- As a general note, read up more about OOP in general, and in context of C++.