C++ Line
C++ Express: Your First 20 Programs
Rated 4.8 out of 5 from 4 reviewsBeginner 20 lessons 611 students
Fare
€9All lines running
Coding preview on every course · Lifetime access · 14-day refund
Write a working text editor that runs in your terminal — raw input, scrolling, search, syntax colours and saving.
The route
6 modules · 28 lessons · 4h 44m of video
Raw mode and keys
5 lessons
Drawing the screen
5 lessons
The text buffer
6 lessons
Editing and saving
5 lessons
Search
3 lessons
Syntax highlighting
4 lessons
Destination
Before you board
About this course
A text editor is the perfect intermediate project: it touches input handling, memory, data structures and performance, and you use the result every day. You will build one from an empty file, roughly a thousand lines of modern C++, with no libraries beyond the standard library and the terminal itself.
Along the way you learn raw terminal mode, escape sequences, a gap-buffer text model, viewport scrolling, incremental search, a small syntax highlighter and safe saving. Each lesson ends with the editor running, so you always have something that works.
Still unsure about something? Write to our contact page and a human answers, usually the same working day.
Reviews are written by people who bought this course. We publish the critical ones too.
4.5
Rated 4.5 out of 5Course rating · 2 reviews
Jakob Lehtonen
Embedded developer
I always wondered how editors insert text without copying everything. The gap buffer chapter explained it in twenty minutes and my editor stays fast on big files.
Rosa Lindqvist
Backend developer
Loved building it. Raw terminal mode is Unix-specific, so on Windows I had to use WSL — the course says so, but plan for it.
One-time payment · lifetime access