A imitate of entrance guard system by C plus plus Language.