1183
Null terminator
(backend.xylight.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Right, So I actually did something similar. On some version of windows I noticed that ctrl-backspace was adding another character to the password, instead of deleting it. So I included it in my password. Then I updated to a new version of windows and got locked out since they updated the password backend to where it would actually delete the password instead of a adding the character, so I had no way of typing out my password. Ended up just nuking the computer.
I know, this is easier said than done for someone unfamiliar with this stuff, but maybe still good to know that this is an option in future:
You can prepare a "Linux Live USB" and select in the BIOS that it should boot off of that.
It'll start a complete OS off of that USB, so you can access the hard drive (assuming you didn't enable disk encryption) and at the very least backup your files, or sometimes even resolve whatever keeps you from accessing Windows.
Remember: Those were probably the times of a single computer at home and having a spare laptop somewhere ready for that is not the default.
Those were the times when I had to pull out my hard drive, ride my bike to my best mate's house, and plug it into their PC so I could finish up a report due the next day. All because Windows 95 didn't shut down cleanly and refused to boot.