It's UWAweek 42 (2nd semester, week 12)

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


 UWA week 43 (2nd semester, study break) ↓
SVG not supported

Login to reply

👍?
helpful
4:03am Wed 25th Oct, Christopher M.

ANONYMOUS wrote:
> Hi there, in Lecture 17 p11. The lecture mentioned that source code files are not dependent on header files. > > I want to know what does "dependent on" actually mean
Hi, near the top of that page it states "certain files depend on others and, if one changes, it triggers the "rebuilding" of others". In our example if, say, calcmarks.h changes, it does not trigger the rebuilding of calcmarks.c, and calcmarks.c remains unchanged. However, calcmarks.o is dependent on calcmarks.h, because if calcmarks.h changes, then calcmarks.o need rebuilding (by compiling calcmarks.c) Similarly, the whole program is dependent on each of the object files - if any of them changes, then we need to link the object files to form the executable. This is shown in the diagram on the same page, where the arrows show the dependencies. Hope this helps,

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  8:08AM Aug 25 2024
Privacy policy