ValveTime.co.uk | Valve News, Forums, Steam

sometimes ive seen -> used alot in function parameters..
example
void hit(class1 *class1,class2 *class2)
{
class1->member; //member is just something made up.
class2->member; //same as above
}

now if i was going to using this example function
in main() ,
how is it going to work
hit(class1 *class1,class2 *class2); //because it wont let me do this
so i dont think i have the grasp of -> properly

thanks for the help
Back
Top