It's UWAweek 48


This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying selected article
Showing 1 of 919 articles.
Currently 2 other people reading this forum.

 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

10:35pm Wed 5th Oct, Lloyd N.

Hi Chris, If we end up choosing none of the 3 options (b,r and u) how would our program know if we are trying to invoke prompt.1 (./trove [-f trovefile] word) or prompt.2 (./trove [-f trovefile] [-b | -r | -u] [-l length] filelist)? Since in prompt.2 both options f and l are optional, we can leave them out from the command-line. So if we choose none of the 3 other options (b, r and u), prompt.2 will just become prompt.1 with the filelist argument acting as the word argument. Thank you!

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy