n0t3pad was a simple program I wrote to show off simple file opening/saving functions and clipboard functions. The program is…well… A simple notepad application. It’s basic functions included file opening, file saving, copy, cut and pasting to/from clipboard. I’m too lazy to compile the program into a executable JAR so I’m simply releasing the source.
NOTE: This coupon generator may no longer work. It’s been ages since I’ve actually been to a Burger King.
On the back of every Burger King receipt is a blank line, and a phone number for a survey. Once you call the number and complete the survey the representative will then give you a coupon code which you could then write on the line. Upon bringing the receipt back to Burger King they would reward you with a free sandwich or fries or whatever the free food was. Like I said I don’t really remember anymore. I’m not even sure if the survey is still there and if it is if it’s for the same reward and using the same algorithm. Basically the algorithm was simply two letters followed by six random numbers. The two letters however were determined by whatever month it was that the survey was taken in. The program simply, runs and auto detects the month. It then just generates 6 random numbers for that months code. Simple and effective and I remember at the time of development it worked beautifully.
Anyway since I’m sharing all my old code and programs I figured this would be a fine one to share as well.
For my CS240 (Data Structures) class, we were set up to make a program. Any program we wanted. There were no restrictions and guidelines. What did myself and my group do? A simple yet effective C++ ID3v1 Editor. What’s this? The program works by having the user drag an mp3 file to the exe. Then the program spits out the files ID3 tags (Artist, Album, Title, Year, Comments) and allows the user to edit the info. Relatively simple yet something that I needed, and I’m sure will be useful to others as well. I was the sole programmer of the programmer (as well as main author of the technical paper) while my partners worked on the presentation and also the technical paper. Anyway the source code and technical paper may be useful to anyone interested in how this works so please enjoy!