Now suppose that you decide to divide this analyze_trades
program
into two files; one containing the main
function, and the other
containing the trade structure declaration and functions that work on
arrays of pointers to trade
objects.
main.c trades.c *--------------* *--------------* | main | | mean_price | | | | mean_size | | | | ... | | | | | | | | | *--------------* *--------------*