Example Multi-module C Program
A large system like a game program has ...
- an internal model of the game world
(places, objects, actors)
- code to manage graphics
(mapping the world to the screen)
The graphics code would ...
- typically be separated from the world code
(software eng)
- need to use the world operations
(to render current scene)
Then there would be a main program to ...
- accept user commands, modify world, update display
|