![]() |
![]() |
![]() |
![]() |
![]() |
|
Functions, such as construct_trade, that create new objects are
called constructors. Naming the trade constructor
construct_trade is a personal convention, rather than a C
requirement. You can choose any name you like, but you should choose a
namesuch as make_trade or initialize_tradethat makes
your function's purpose clear.