This repository contains a simple command-line code editor implemented in C++. It provides basic functionalities for text editing within the terminal environment.
- Line-by-line editing: Edit text one line at a time.
- Dynamic memory allocation: Handles varying numbers of lines efficiently.
- Basic text input: Allows users to input and modify text.
To build the code editor, navigate to the Code_Editor directory and compile the source files using a C++ compiler like g++:
g++ -o Code_Editor CEditor.cpp Source.cpp String.cppAfter successful compilation, you can run the executable:
./Code_EditorOnce the editor is running, you can type your text line by line. The editor will prompt you with a line number. To exit, you can typically use Ctrl+D (End-of-Transmission character).
Add screenshots of the running code editor here.
Add a GIF demonstrating the code editor in action here.
Contributions are welcome! Please feel free to fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.