CPPND: Memory Management Chatbot
This is the project for the Memory Management course in the Udacity C++ Nanodegree Program.
High-level Objectives
Important
See the Project Rubric for a full list of requirements.
In this project, you'll apply your skills to:
- Analyze problems, and
- Then modify the program using the advanced concepts taught in this course
To complete the project:
- Find each
TODOlocated in the project's files.TODOs are located either:- To the side, if the fix is for a single line of code
- Above the code, if the fix is for multiple lines of code. These also have a
END OF TODOcomment at the end of the relevant blocks of code.
- Analyze the relevant code to determine what needs to be fixed
- Generally, the
TODOs don't provide instructions or guidance. This is so you can practice identifying and implementing appropriate fixes.
- Generally, the
- Implement the appropriate fix
- Your fixes need to use the advanced concepts taught in this course
Project Setup
1. Install Dependencies
Note
If you're using Udacity Workspace, these dependencies are already installed
- cmake >= 3.11
- All OSes: click here for installation instructions
- make >= 4.1 (Linux, Mac), 3.81 (Windows)
- Linux: make is installed by default on most Linux distros
- Mac: install Xcode command line tools to get make
- Windows: Click here for installation instructions
- gcc/g++ >= 5.4
- Linux: gcc / g++ is installed by default on most Linux distros
- Mac: same deal as make - install Xcode command line tools
- Windows: recommend using MinGW
2. Compile, build, and Run
Warning
Until you finished the
TODOs, the code will compile (cmake ..) but not build (make)
In the top level directory of this project, run the following:
mkdir build && cd build && cmake .. && make && ./membot