Memory Management Chatbot

This project creates a simple ChatBot using C++. The ChatBot (or MemBot) will introduce some basic concepts about the memory management in C++. The ChatBot will provide you the information based on the topic you type in, e.g., pointers.

Text file answergraph.txt defines a knowledge graph, where each node represents an answer and edge represents user query. The most related answer is selected based on the Levenshtein distance. In this project, smart pointers are used to manage the memory allocation.


Dependencies

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory in the top level directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./membot.

Credits

The starter code for this project is from the Udacity C++ Nanodegree Program: Memory Management.