It's UWAweek 30 (2nd semester, week 1)

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 selected article
Showing 1 of 1168 articles.
Currently 12 other people reading this forum.


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported

Login to reply

👍?
helpful
5:41am Fri 20th Oct, Christopher M.

ANONYMOUS wrote:
> 1. If my program can correctly handle the absolute paths of folders, then theoretically, should it also be able to handle the relative paths of folder directories?
Your project should be able to handle both absolute and relative top-level directory names (I don't believe it's a "theoretical" matter, and am unsure how/why you'd be treating them differently).
> 2. For the part about "Checking of directory names passed on the command-line," should it handle whether the file path format is correct, or identify whether this folder path is valid (i.e., whether it can be opened, using stat())?
I'm not sure what you mean by an incorrect "file path format". Your project should be able to *receive* anything as a *potential* directory name, and determine whether it exists and is accessible.

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  7:24AM Jul 25 2024
Privacy policy