hi
Is there a way to pass a structure into a function in C++? ie if I have a structure of data, can I pass it in and use all the members without having to pass them indevidually? I basically want to pass team data into a function and that function will use the data to simulate a football game and rather than write out a huge block of code to simulate a tournament I would like to have a game function I just pass team structures into.
Cheers for the help
Dan