Script started on Fri Feb 10 23:52:55 1995 % make /home/cs228/public/bin/ansicpp -I/home/cs228/public/include -c testpass.C /home/cs228/public/bin/ansicpp -I/home/cs228/public/include -c RandomPrintableCharString.C /home/cs228/public/bin/ansicpp -I/home/cs228/public/include -c password.C /home/cs228/public/bin/ansicpp -I/home/cs228/public/include -c GetPositiveInt.C /home/cs228/public/bin/ansicpp -o testpass.exe testpass.o RandomPrintableCharString.o password.o GetPositiveInt.o -L/home/cs228/public/lib -lcs228 % ./testpass.exe Type an positive integer (seed for random nums): 01 Your password is now: !-hLS5%``x Please verify the password: Type password then --> !-hLS5%``x Try it again (y/n)? y Type an positive integer (seed for random nums): -3 Type an positive integer (seed for random nums): -1 Type an positive integer (seed for random nums): 0 Type an positive integer (seed for random nums): 2 Your password is now: !9Qw'J)BBr Please verify the password: Type password then --> !9Qw'J)BBr Try it again (y/n)? y Type an positive integer (seed for random nums): 55 Your password is now: !7U6=%X@BG Please verify the password: Type password then --> !7U6=%X@BG Try it again (y/n)? y Type an positive integer (seed for random nums): 934222 Your password is now: >O+%sN+B]_ Please verify the password: Type password then --> abcdefg Verification failed! % echo $status 1 % ./testpass.exe Type an positive integer (seed for random nums): 94 Your password is now: !C#+(WHmqq Please verify the password: Type password then --> !C#+(WHmqq Try it again (y/n)? n % echo $status 0 % exit exit script done on Fri Feb 10 23:55:36 1995