Ok, I think im getting it now... im going to google this and read up on it more tho. thanks for the help everyone but theres 1 thing i dont get still... why does it do this?
is that defining player as stats &S when it gets passed to intro() ? is it like the structure is just getting handed from person to person and they can change the name?Code:int main() { stats player; player.life = 100; player.debt = 500; intro(player); //this... why is it player instead of stats &S? }