//This program compiled and ran until I put /*******/ on top of some words //Help administrator add a new name and password to the "passwd" file #include #include #include #include #include "SecureBuffer.h" using namespace std; int main(int argc, char * argv[]) { try{ if(argc !=3 ) { cerr <<"Usage: add name password\n"; exit(1); } Buffer id(argv[1]); SecureBuffer password(argv[2], id); /*******/ passwd("passwd", ios::in | ios::out); const int record_size= sizeof(Buffer)+sizeof(SecureBuffer); // Format of "passwd" is in list.cpp. File= record* blank*. record=Buffer SecureBuffer. if(!passwd) { throw runtime_error("File passwd can not be opened\n"); } int number_of_recs; passwd./*******/(0, ios::end);//in book number_of_recs=passwd.tellp()/record_size ; Buffer file_id; Buffer blank;// deleted data // find id in file int record_number; for(record_number=0; record_number