Skip to content

prasoonkandel/notes_cpp

Repository files navigation

Notes Cpp

Notes Cpp is a simple terminal-based notes app built with C++. It can be used to make quick notes from terminal..

Latest Release: v1.2

Demo Video

Fork Repo

Features

  • 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.

Requirements

  • Linux/macOS/Windows
  • C++17 compatible compiler (g++ recommended)

Usage

Use the main menu to choose one of the following options:

Main Menu

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.

Storage Location

The app stores notes in a folder named notes_cpp inside your home directory.

Folder Structure:

The folder structure of this project is shown in the image below:

Folder Structure

Build Command:

g++ -std=c++17 -o notes_cpp main.cpp operations.cpp

Built By Prasoon Kandel