Yep. Back when I used to teach Windows programming in C commercially, the course exercise was to replicate notepad. It was surprising how many of its features you could implement in a week-long course, especially as many of our clients were no great shakes at C.
This was on Windows 3.1. I don't think the version of notepad there had any Unicode support - certainly the one in our training course didn't; I didn't feel up to teaching C, the Windows API _and_ Unicode. It was just a slightly realistic exercise where our clients could implement as much or as little as they felt happy with, making use of standard windows controls as much as possible.
Yep. Back when I used to teach Windows programming in C commercially, the course exercise was to replicate notepad. It was surprising how many of its features you could implement in a week-long course, especially as many of our clients were no great shakes at C.
I think it is more surprising how many deeper features were hidden in Notepad (I did a complete re-implementation using MFC for Windows CE).
Did you implement .LOG and Unicode support with BOM handling?
This was on Windows 3.1. I don't think the version of notepad there had any Unicode support - certainly the one in our training course didn't; I didn't feel up to teaching C, the Windows API _and_ Unicode. It was just a slightly realistic exercise where our clients could implement as much or as little as they felt happy with, making use of standard windows controls as much as possible.