It's UWAweek 5


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.

 Posts from 2022 will be available until after the Deferred and Supplementary Exams
9 articles posted by this person
Showing 9 of 919 articles.
Currently 4 other people reading this forum.

 UWA week 40 (2nd semester, week 10) ↓
SVG not supported 4:14pm Sat 8th Oct, Simon E.

When reading a line from a file with fgets, we need to provide a statically allocated character array for the function to place its output into (fgets's first argument). How long should this array be? I currently have a buffer with a length of 8192, ...

 UWA week 35 (2nd semester, week 6) ↓
SVG not supported 4:35pm Sun 4th Sep, Simon E.

The function in question is adapted from the first day of month.c file provided as part of the week 2 workshop

SVG not supported 4:32pm Sun 4th Sep, Simon E.

Are we permitted to use small samples of code from workshops (i.e. a single small function) in our project? Thanks

SVG not supported 11:26am Thu 1st Sep, Simon E.

Hi The project states that we need to report errors occurring in the crontab estimates file. Does this error message need to include information such as "Invalid month on line X of crontab file", or can it just say "Error detected in crontab file"? Tha...

 UWA week 34 (2nd semester, week 5) ↓
SVG not supported 6:27pm Thu 25th Aug, Simon E.

I'm not Chris but I may be able to help. From the task brief, it says that there won't be a command in the crontab that isn't in the estimates file. With a command that appears in the estimates file but not the crontab, I don't think it would be nece...

SVG not supported 2:55pm Thu 25th Aug, Simon E.

I'm using VSCode on Windows 11 with no problem. You need to install the C C extension (which can be done easily from the extensions panel) and then you can specify which version of C to provide error checking and auto-complete for in the settings. ...

SVG not supported 11:26am Thu 25th Aug, Simon E.

Yes, and that the columns have correct values (i.e. a correct number of digits or characters)

SVG not supported 11:18am Thu 25th Aug, Simon E.

I'm planning on using it to ensure the contents of the input files match a valid structure as stated in the outline. All my other interpreting of files I'm planning on doing manually

SVG not supported 10:43am Thu 25th Aug, Simon E.

Hi Are we allowed to use regex.h? It's not provided as part of ANSI C but is part of POSIX, which I'm assuming will be available if the project is compiled on a Linux system. Thanks

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  2:26AM Jan 17 2023
Privacy policy