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.
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.
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
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?