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