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 98 other people reading this forum.


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

Login to reply

👍?
helpful
4:06pm Wed 18th Sep, ANONYMOUS

G'day all, Just a query regarding submission of our final runml.c code into cssubmit. There is a liner under the Project 1 page, "Submission requirements", point number 2: 'Submit only a single C11 source-code file named runml.c Do not submit any header-files, documentation, instructions, ...' May I interpret it as my final runml.c should omit any c header files and would look like the following: // CITS2002 Project 1 2024 // Student1: STUDENT-NUMBER1 NAME-1 // Student2: STUDENT-NUMBER2 NAME-2 // Platform: Linux (or Apple) #start of whatever runml code here ... ... OR should it have the c header files and look like this: // CITS2002 Project 1 2024 // Student1: STUDENT-NUMBER1 NAME-1 // Student2: STUDENT-NUMBER2 NAME-2 // Platform: Linux (or Apple) #include <stdlib.h> #include <stdio.h> ... ... #followed by whatever runml code functions made ... ... Would appreciate any clarification on this. Thanks in advance and cheers.


SVG not supported

Login to reply

👍x1
helpful
5:35pm Wed 18th Sep, Joshua N.

ANONYMOUS wrote:
> G'day all, > > Just a query regarding submission of our final runml.c code into cssubmit. > > There is a liner under the Project 1 page, "Submission requirements", point number 2: > > 'Submit only a single C11 source-code file named runml.c > Do not submit any header-files, documentation, instructions, ...' > > May I interpret it as my final runml.c should omit any c header files and would look like the following:
This is not what Chris means. He means to not *submit* header files (e.g. you can't submit a header file you wrote). You still have to *import* header files or compilation will fail.
> // CITS2002 Project 1 2024 > // Student1: STUDENT-NUMBER1 NAME-1 > // Student2: STUDENT-NUMBER2 NAME-2 > // Platform: Linux (or Apple) > > #start of whatever runml code here > ... > ...
Your code won't compile if you do this.
> OR should it have the c header files and look like this: > > > // CITS2002 Project 1 2024 > // Student1: STUDENT-NUMBER1 NAME-1 > // Student2: STUDENT-NUMBER2 NAME-2 > // Platform: Linux (or Apple) > > #include <stdlib.h> > #include <stdio.h> > ... > ... >
This is what you should submit.
> Would appreciate any clarification on this. Thanks in advance and cheers.
You must import the necessary header files, which is necessary for your program to compile.

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