>>my biggest problem at the moment is how do I pass the pointer into the function when the pointer is pointing to a struct?
Do it the same as you would do with any other data object, such as a pointer to an int
void foo( Divison* pDiv)
{
// blabla
}
int main()
{
Division d;
foo( &d );
}
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343