Thanks for all the help everyone, one more piece of the C++ puzzle clear in my head, eventhough its now polluted somewhat with sandwich annolgies ;).
Cheers again,
Skusey
Type: Posts; User: Skusey
Thanks for all the help everyone, one more piece of the C++ puzzle clear in my head, eventhough its now polluted somewhat with sandwich annolgies ;).
Cheers again,
Skusey
Reading hk_mp5kpdw's post again I see you are emphasising only the last 3 in the list, so I assume TerrainPatch* blah, and TerrainPatch *blah, both represent a pointer, and are the same then? Is...
ahh... oh dear looks like my understanding of C++ is actually going backwards...
Could someone explain the difference between:
TerrainPatch* blah;
and...
Hi,
I have designed a class in C++ that has four pointers to its 'neighbours' in the world. Its neighbours are of the same class, so I have ended up with a class that has a reference to itself....
Thank you Davros! That worked perfectly! Many thanks for the assistance,
Skusey
Hi,
When using classes in C++, how can you have it where both classes have a reference to each other? For example, we have a space ship class, and a space ship's component class:
Space ship...
Hi,
I have a normalised vector representing the direction of a cue stick. This cue sticks model is represented in world space as running along the x-axis, ending with its tip at the origin. So a...
Ah, sorry I'v been a fool! The stack overflow should have been the clue, all these problems are going on within a potentially recursive function, which clearly is calling itself one too many times,...
Yes, I tried that code, and I get the overflow again. In any context I have tried the overflow occurs :(. As for the #ifdef __cplusplus code, that is from one of the DirectX header file, not my own...
Hi,
No doubt I am doing something stupid, but I cant get to the bottom of this error, so any help would be massively appreciated! I came across it using dx9.0c, calling the D3DXVec3Length...