September 12th, 2005

color cycle (slow)

Aieeek!

Fellow C programmers, you'll understand this immediately...

I read the documentation for gets(char*) for the first time today; I'd always used other functions and never bothered looking up gets before. I just finally had to read all of stdio.h, and found out exactly what it does.

I think, even through the thick walls of the dorm, my neighbors heard my scream.

I'm still too traumatized to explain it. Other programmers here are invited to explain to the rest of the audience exactly why my reaction is perfectly understandable.

edited to add:
Perhaps the GNU documentation on gets(char*) says it best...
...
BUGS
Never use gets(). ...
  • Current Mood
    scared traumatized