How to Use
BO Demos. ©2002, Jedidiah R. Crandall, Susan L. Gerhart, Jan G. Hogle. http://sfsecurity.pr.erau.edu
3 – source code
•This is the C source code for the program that is being executed. You should understand several things even if you are not
a C programmer: 1. PasswordOkay() will call the PasswordOkay() subroutine, 2. gets() reads a
string from the user and puts() prints a
string, 3. strcmp() compares two strings to see if they
are the same, and 4. A statement like char A[5] = “HELLO” will allocate a five byte buffer
called A and initialize it to “HELLO”. char
Num = ‘R’ allocates one byte called Num and sets it
equal to ‘R’.