Skip to content
/ 42-cpp Public

This first module of C++ is designed to help you understand the specifities of the language when compared to C. Time to dive into Object Oriented Programming!

Notifications You must be signed in to change notification settings

iaurg/42-cpp

Repository files navigation

42-cpp

You are allowed to use almost everything from the standard library https://en.cppreference.com/w/cpp/header

Wiki: https://github.com/qingqingqingli/CPP.wiki.git

Virtual base class (diamond): https://stackoverflow.com/a/21607

vtable error on Animal module 4: https://stackoverflow.com/a/3065223

subtype polymorphism: https://www.cs.cornell.edu/courses/JavaAndDS/files/PolymorphismSubtype.pdf

Heap vs Stack: Heap:

  • I need to manage the allocation/destruction by myself.
  • dynamic allocated into spaces

Stack:

  • is managed by compiler.
  • allocated in continuos block

STL: Standard Template Library

container: data structures algorithm: operations

Algorithms -> Iterator -> Container

About

This first module of C++ is designed to help you understand the specifities of the language when compared to C. Time to dive into Object Oriented Programming!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published