PLEASE NOTE: the upgrades to this server,, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49


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 4 other people reading this forum.

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

Login to reply

3:53am Tue 4th Oct, Christopher M.

> I am assuming that the indexfile does not exist and we have to create it so does that mean that the program is meant to create a file(?) and place them in a directory or this indexfile is simply just the data structures we created on the program? I am confused about this because in the 2nd invocation explanation, it says that if -f is absent then the default is /tmp/trove
Initially the trove file does not exist. You will need to create it before you can write to it, usually by open()ing it with the correct option to create it. The filename to be created is named /tmp/trove, unless you provide another filename with the -f command-line option.

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