It's UWAweek 44 (2nd semester, 1st exam week)

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


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

Login to reply

👍?
helpful
11:53pm Tue 10th Sep, ANONYMOUS

If the line in the mlfile reads: function abc Should it be returning 0.0? Or is the return type void? Meaning I would be writing void abc(): to the temp file?


SVG not supported

Login to reply

👍?
helpful
8:19pm Wed 11th Sep, Joshua N.

ANONYMOUS wrote:
> If the line in the mlfile reads: function abc > > Should it be returning 0.0? > > Or is the return type void? > > Meaning I would be writing void abc(): > to the temp file?
Depends on whether the function returns a value or not. You could just always have the function return a double and just add return 0.0 to the end of the function if there is no return value.

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