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.
Displaying the 5 articles in this topic
Showing 5 of 738 articles.
Currently 71 other people reading this forum.


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

Login to reply

👍?
helpful
7:53pm Tue 17th Sep, ANONYMOUS

Just making sure, is regex.h permitted? We have used some regex for string parsing. As far as I know, it is considered a system-provided (POSIX) library.


SVG not supported

Login to reply

👍?
helpful
8:31pm Tue 17th Sep, Joshua N.

ANONYMOUS wrote:

Just making sure, is regex.h permitted? We have used some regex for string parsing. As far as I know, it is considered a system-provided (POSIX) library.

I believe Chris intended students to actually parse the strings themselves. If you want confirmation, you will have to ask Amitava. Honestly, I don't think regex.h will make your life easier.


SVG not supported

Login to reply

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

No,regex.h is not permitted. regex.h may be a part of the system-provided POSIX library but you are only allowed to use the C11 standard library functions. Refer this link to know the headers that you'll be allowed to use https://en.cppreference.com/w/c/header


SVG not supported

Login to reply

👍?
helpful
8:23pm Wed 18th Sep, ANONYMOUS

Is this list exhaustive? Requirement 3 specifies OS and POSIX functions as well - which functions are allowed? I am using unistd.h for execv and sys/wait.h for wait as these were covered in lecture 9. Should I use system in stdlib.h instead?


SVG not supported

Login to reply

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

you can add the -std=c11 flag while compiling to enforce the c11 standard, I believe unistd.h and sys/wait.h are allowed

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