Sorry I forgot I changed the record filename in the code:
If you compile this, you'll need an empty text file called "books.dat" not "books.bin"
Sorry I forgot I changed the record filename in the code:
If you compile this, you'll need an empty text file called "books.dat" not "books.bin"
V8 Interceptor: KDE 5.25.5 on Manjaro Linux 22.0.0 "Sikaris"
Steering wheel: gcc 12.2.0 in Kate
Supercharger: NASM 2.15.05
Engine: AMD Ryzen 7 1700
Dashboard: NVIDIA GeForce GTX 1060 6GB
Rusty old trailer for hauling 3% of my Steam catalog: Windows 7 Pro 64bit SP1
3 Antique Ford Model T automobiles for vintage LAN gaming: Windows XP SP3
Sturdy buckboard for DOS LAN gaming: DOSBox 0.74-3 on Windows XP SP3
Time well spent, though. Look at what is in this program:
structs
array of structs
Insertion sort of strings (I've never coded this one up before)
binary search
file IO, including making a back up file.
safer data entry from user
record "addition" and "deletion" via field editing
menu system
That is a lot to take on, in just a few days.