It's UWAweek 38 (2nd semester, week 8)

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.
6 articles posted by this person
Showing 6 of 441 articles.
Currently 8 other people reading this forum.


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported 9:29pm Mon 16th Sep, Samay G.

I recall that on my question on this thread (https secure.csse.uwa.edu.au run help2002?p np opt U308) it was proposed that we compile code without -Werror, but even if we just use -Wall it also throws all warnings, is that expected and fine? Here i...


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 10:14pm Sun 15th Sep, Samay G.

ml language rule 7 states that "variables do not need to be defined before being used in an expression", is the line number 3 in following ml code legit ml expression statement? x -5 print x y print y


SVG not supported 5:45pm Sat 14th Sep, Samay G.

Thank you for your guidance. So I will be compiling the translated code using "cc -std c11 -Wall -o runml runml.c".


SVG not supported 1:10pm Thu 12th Sep, Samay G.

Q1) I saw the thread that you shared but it means that we will have to store the expression, evaluate it and then handle the value. something like - double temp entire expression ; if (temp int(temp)) .... Q2) So if i understand correctly, the expe...


SVG not supported 7:32pm Wed 11th Sep, Samay G.

Just to clarify the third question. i dont mean using nested functions in the ml, but using them while translating ml to c as the gcc compiler doesnt throw any warnings or errors, it works fine.


SVG not supported 3:22pm Mon 9th Sep, Samay G.

1) Under the Our ml Language headline, it says, "only a single datatype is supported - real numbers, such as 2.71828", and, "variables do not need to be defined before being used in an expression, and are automatically initialised to the (real) 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