My humble contribution to provide a (hopefully useful) summary of C++ taught at ELTE.
The notes cover three areas of the basics of C++:
- Basics of C++: heritage from C, references, memory model and memory management, types, scope and lifetime.
- Object-oriented programming:
struct
s vs.class
es, visibility, inheritance, static fields and methods, operators, copy constructor vs. assignment operator, casting,friend
keyword - Templates and STL: template functions, template classes, dependent scopes, iterators, fundamental algorithms and data structures
The document is written in
Many thanks to Tibor Brunner, my instructor, for taking the time to proofread my notes.
- As of now, the lecture notes have been proofread, however, the recommended corrections are yet to be implemented.
- Please note that the lecture notes are written in Hungarian. I do not intend to translation it to English. Having said that,
- the example code snippets use English names for variables, functions, classes, etc.
- for each keyword and definition, I gave the English translation; that way, making it easier to navigate in the document.