Garbage Collector implemented using Reference Counting Algorithm. The algorithm selected can easily be implemented upon the existing C++ dynamic allocation system. for more information about the algorithm, please refer to this wikipedia link.
- Clone the repository using command
git clone https://github.com/abdoei/Udacity_Cpp_nanodegree.git
.
- Compile
GarbageCollector.cpp
file by executing commandg++ -o main main.cpp
. - Execute command
./main
. - Results should now be displayed on the screen.
- Complete
Pointer
constructor - Complete
Pointer
operator==
- Complete
Pointer
destructor - Complete
PtrDetails
class - Implement a pooling mechanism for
PtrDetails
objects