It's UWAweek 48


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 919 articles.
Currently 6 other people reading this forum.

 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

9:57pm Wed 5th Oct, Lloyd N.

Hello, In Lecture 16 (03/10) Chris mentioned that after using getopt() we need to include: argc -= optind; argv += optind; However, I couldn't find a reason for this nor an example showcasing getopt() with the above two lines of code on the internet. Does anyone know why we should include those two lines? Or anyone know where I can read up on this in case I wasn't searching properly. Thanks in advance!

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  1:17AM Sep 14 2022
Privacy policy