This lab involves the use of several new language features: command line arguments, file input, and (arrays of) structs. You have three weeks to complete the lab, and I strongly recommend you start early! |
shaggy rogersn 9139 scooby doos 20410 velma dinkleyv 635 freddy jonesf 0917 daphne blaked 7403
struct UserInfo { string nickname; string username; int userid; };
shaggy rogersn 9139 scooby doos 20410 velma dinkleyv 635 freddy jonesf 0917 daphne blaked 7403 |
$ ./labex5 mydata Welcome to the userlookup program! The user database has been initialized from file: mydata Please enter your list of search values, ending with QUIT when done. 635 velma dinkleyv 635 doos scooby doos 20410 7403 daphne blaked 7403 1234 No matching data was found for 1234 daphne daphne blaked 7403 abc No matching data was found for abc QUIT Bye! |