This c an go program simulates a text editor with an integrated clipboard manager which can handle the following operations:
- TYPE
- SELECT <start_index> <end_index>
- MOVE_CURSOR
- COPY
- PASTE or PASTE <steps_back>
- EXIT
The project contains also a custom implementation of a queue in c language.
Project can be downloaded from the attached folder or by clonning my git repository:
git clone https://github.com/gpol2003/text-editor.gitTo compile main.c and the queue module:
cd c-project
makeTo execute the editor program:
make testTo execute editor program with Valgrind memory error detector:
make checkTo compile and execute main.go
cd go-project
go run main.goInput: "TYPE We hate pointers", "MOVE_CURSOR -3", "SELECT 3 6", "TYPE love"
Output: We love pointers
Input: "EXIT"
Leaving text editor...Pol Guarch Bosom - [email protected] - https://www.linkedin.com/in/pol-guarch/
Project Link: https://github.com/gpol2003/text-editor.git