nice one..... BTW 80 for megan isn't needed.>char secret[80] = "megan\0";
You don't need to place the nul at the end, the compiler will do it for you.
Prelude, which one do you prefer?You can use one of two notations to do this:
if ( strcmp ( stat.name, secret ) == 0)
if ( !strcmp ( stat.name, secret ) )