It's UWAweek 42 (2nd semester, week 12)

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


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 3:42pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote multiple declaration of the same variable (name) is an error, you can assume that. We are not overthinking here, make simplifying assumptions, state those assumptions in a file, and you will be fine.


SVG not supported 3:41pm Fri 13th Sep, Amitava D.

Where did you get this ml syntax from? I haven't seen this.


SVG not supported 3:40pm Fri 13th Sep, Amitava D.

There is no need to complicate matters. Assume that there is no nested function, and that the generated code can be compiled without -Werror


SVG not supported 3:39pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote You can add a print statement in the ml file if you want something to be printed. Submit that modified ml file mentioning that you have added a print statement.


SVG not supported 3:37pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote I don't understand the source of this confusion. I have sent an email (and you can clearly quote that in case of any dispute) aand what I wrote there is correct. I cannot go on sending emails recursively and validate ad infinitum.


SVG not supported 3:36pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote I didn't have much time to look at the project carefully. However, main() is also valid in C, without any parameters like argc and argv


SVG not supported 3:30pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote You should make simplifying assumptions, and clearly write those assumptions in your report. I am not sure whether a report was required in the original project description, but you can submit a report that lists all the assumptions y...


SVG not supported 3:28pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote C accepts variable number of parameters in functions, so any parameter mismatch will be tolerated by the C compiler. You need not check the correctness of parameters.


SVG not supported 3:27pm Fri 13th Sep, Amitava D.

Use gcc without -Werror.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 10:34am Fri 6th Sep, Amitava D.

I don't know what Chris had mind, it could be a trick question (note the 'always be true'). Suppose I write a complete C code with a main() and do not call this function?

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