It's UWAweek 4

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 selected article
Showing 1 of 835 articles.
Currently 2 other people reading this forum.


SVG not supported

Login to reply

👍?
helpful
9:10pm Thu 12th Sep, Joshua N.

ANONYMOUS wrote:
> Hi, currently I have all the functions double in the translated c file and it works fine even if the function doesn't have a return statement. > > I read that the return value is undefined for such functions in c so I just wanted to confirm that the return value of a function with no return statement won't be used in an expression in the ml file or do I need to check for that and throw an error in such a case?
Just add return 0.0 to the end of your functions if they don't have a return statement.

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