It's UWAweek 48

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


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

👍?
helpful

When writing c programs (partially in regards to Project 1), if we know the functions we write are to manipulate global variables, is there a preference between: 1. Writing more 'general' functions that takes parameters, which we then call in main and pass our global variables into. 2. Or, write functions that take no parameters, and just hard code our global variables into it (since we know certain functions will only be called once and is for the sole purpose of updating our 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  1:17AM Sep 14 2022
Privacy policy