Zom-B <mark.jeronimus@[EMAIL PROTECTED]
> writes:
> Comparing strings with == or != is the same as comparing the memory
> locations where both strings are stored, which are of course
> different. Try strcmp(password, "november13") instead. Note that this
> needs the include "#include <string.h>".
>
> Moreover, it is always a bad idea to store the password as plain text
> in the source code. Anyone obtaining a copy of either the source or
> executable can see the password with minimal effort. In fact, this is
> exactly how I once "cracked" the trial version of UniVBE when I was a
> kid.
Wow. What a whoosh.