the students in C programming class are bored of printing asterisk patterns so are like what cool things can you do in C so I've been digging up all the ridiculous programs I wrote at their age

This one is the unfinished "guinea pig adventure" which I wrote in OpenGL back in 2001 after losing my job in the .com implosion and playing too much final fantasy 7

impressively still compiles and runs on modern Linux

@deater78 probably the only cool code in C i wrote that I miss writing now are viruses for MS-DOS. It was really fun. DOS had a feature called Terminate and Stay Resident - TSR - which let programs run after they were terminated - these could be injected into the bootloader.

I never made a destructive one of course.