I'm sure this is just me being really silly - and if the keyword search was working I'd probably find the answer there - but it's not so I'm gonna ask:
I have a function that takes a couple of pointers typed to be instances of classes that I have defined. Inside this function I'm setting these pointers to be new objects of the relevnt types. However when the function returns control to it's calling function and I check the values of these pointers they are still at there inital Null values - not the ones set in the function.
Could someone please try and tell me where I'm going wrong
Thanks for your help
I have a function that takes a couple of pointers typed to be instances of classes that I have defined. Inside this function I'm setting these pointers to be new objects of the relevnt types. However when the function returns control to it's calling function and I check the values of these pointers they are still at there inital Null values - not the ones set in the function.
Could someone please try and tell me where I'm going wrong
Thanks for your help