PLEASE NOTE: this server, secure.csse.uwa.edu.au, will be unavailable on Wednesday 7th December, from 1pm until 4pm (was Monday 5th).
Web-based programs, such as csmarks, cssubmit, and the help fora, will all be unavailable.
  It's UWAweek 49

help2002

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 the 7 articles in this topic
Showing 7 of 919 articles.
Currently 1 other person reading this forum.


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

Login to reply

👍?
helpful
8:22pm Mon 3rd Oct, ANONYMOUS

Hello! I was attempting to make a plan of how to go about creating the program and have a few questions... 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 regarding the /tmp/trove, are we meant to create a 'trove' file and store the data in there? sorry if the questions are confusing.. THANK YOU!!


SVG not supported

Login to reply

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

ANONYMOUS wrote:
> 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.


SVG not supported

Login to reply

👍?
helpful
5:45pm Tue 4th Oct, Xiaojun H.

So initially the trovefile doesn't exist unless I create it using the 2nd prompt in the CML?


SVG not supported

Login to reply

👍?
helpful
3:00am Wed 5th Oct, Christopher M.

"Xiaojun Huang" <23*1*3*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> So initially the trovefile doesn't exist unless I create it using the 2nd prompt in the CML?
If your computer doesn't have a trove-file already, then the first command to build or update will need to create one (because it needs to place it's 'work' somewhere!). What does CML stand for?


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported

Login to reply

👍?
helpful
3:00pm Sun 16th Oct, Matthew M.

Quick question... Do we store the trove-file in the working directory "./tmp/trove-file" or the root directory "/tmp/trove-file"? Cheers!


SVG not supported

Login to reply

👍?
helpful
3:38pm Sun 16th Oct, Christopher M.

"Matthew Masel" <20*1*1*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> Quick question... > > Do we store the trove-file in the working directory "./tmp/trove-file" or the root directory "/tmp/trove-file"?
Quick answer... What does the project sheet say?


SVG not supported

Login to reply

👍?
helpful
5:11pm Sun 16th Oct, Matthew M.

Thanks for replying on a Sunday and congrats on the teaching award, very well deserved! I will use /tmp/trove-file as instructed in the outline. Cheers, Matt

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