It's UWAweek 49


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 17 other people reading this forum.

 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

3:44pm Fri 25th Aug, ANONYMOUS

Will I penalised for using global variables? I've heard that it's bad practice in C, but I don't see how I could possibly pass half a dozen state variables to every function, plus the other variables specific to each function. I could make a struct and put the necessary variables in the struct, but I'd still have to pass that struct to every function. Is there a better way, or should I just continue with my global variables?

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  5:07AM Sep 06 2023
Privacy policy