You can call it the following way as shown below. If the member function does not change the object itself then it could be declared with qualifier const. For example void rabbitfunction() const {}. In this case 'function' shall take a const reference to an object of the class.

i will take everything that it doesnt need for a snippet out...i didnt realize that this is what a snippet is, however, i think i got to keep it all in because of the amount of parameters the code takes in function

here it is, there are some loose bits because i havnt finished tidying it up and building other bits

yes but what if i take something out that is part of the thing i dont know is causing the problem!? for example i have to leave that big clunky array in because its actually in the function in questions arguments, oh i could write a new code that produces the same problem? sry i on it now

you know cire i was thinking that there was a problem because i had to say something about a constructor for the class object in the functions parameters,

turns out that i just wrote the constructor wrong and the couldn't tell where the problem was, i feel foolish now but i guess its actually an invaluable lesson worth passing on, you know whenour parents talked about the fool who did this or that in stories, the fool taught us every thing we know XD