Notes Cpp is a simple terminal-based notes app built with C++. It can be used to make quick notes from terminal..
- Create a new file if it does not already exist
- Write content to an existing file (overwrite mode)
- Read and display saved file content in the terminal
- Edit the specific line of the file
- List all files currently stored in the notes directory
- Delete an existing file from the project directory.
- Linux/macOS/Windows
- C++17 compatible compiler (
g++recommended)
Use the main menu to choose one of the following options:
Note: Enter the complete file name, for example new.txt, not only new.
1. Create New File
- Create a new file if it does not already exist
2. Write File
- Write content on a newly created file or overwrite the content of an existing file.
3. Read File
- Read and display saved file content in the terminal
4. Edit File
- Edit the specific line of the file
5. List Files
- List all files currently stored in the notes directory
6. Delete File
- Delete an existing file from the project directory.
7. Exit
- Exiting the program.
The app stores notes in a folder named notes_cpp inside your home directory.
The folder structure of this project is shown in the image below:
g++ -std=c++17 -o notes_cpp main.cpp operations.cpp