Mohammad Albarham Mohammad Albarham

Memory Management Chatbot

2020

Demonstration of the C++ MemBot chat interface running alongside the VS Code source code

Project information

About this project

The ChatBot creates an interactive dialogue where users can ask questions regarding memory management in C++. The chatbot loads its knowledge base from a text file and constructs an in-memory knowledge graph representation where answers are graph nodes and queries are graph edges. Upon receiving a query, Levenshtein distance matching identifies the most probable answer. This project focuses on C++ memory management principles, modernizing raw pointers into smart pointers (unique and shared pointers) and applying RAII concepts throughout the codebase.