It's UWAweek 47

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 2 articles in this topic
Showing 2 of 828 articles.
Currently 75 other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
11:14pm Sun 15th Sep, ANONYMOUS

Hello, i would like to ask regarding the output file (the c file where we translate the ml file to). Do we have to make the output file with the PID included like in the example?


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
5:23am Mon 16th Sep, Joshua N.

ANONYMOUS wrote:
> Hello, i would like to ask regarding the output file (the c file where we translate the ml file to). Do we have to make the output file with the PID included like in the example?
The file is temporary and will be deleted by your program. So, you can name it whatever you want (but make 110% sure the name doesn't and will not collide with other file names when run on other people's computers). However, the reason why it is given the name of the PID is to prevent writing to a file that already exists (i.e. User created files, it's unlikely someone named their file a whole bunch of random numbers).

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  8:08AM Aug 25 2024
Privacy policy