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.cppfile by executing commandg++ -o main main.cpp. - Execute command
./main. - Results should now be displayed on the screen.
- Complete
Pointerconstructor - Complete
Pointeroperator== - Complete
Pointerdestructor - Complete
PtrDetailsclass - Implement a pooling mechanism for
PtrDetailsobjects
