how to get a set of pointer?
for example
IDirect3DTexture9 **tex;
this way I can get a list of pointer of IDirect3DTexture9?
or I must do this:
IDirect3DTexture9* tex[];??
Um... I have no idea what you're trying to get help for but i'll try.
I think you're looking for a Data Structure, namely a Linked List, Stack, Vector, Queue or whatever.
Check into the STL Classes.
I think you're looking for a Data Structure, namely a Linked List, Stack, Vector, Queue or whatever.
Check into the STL Classes.
Quote:Original post by derek7
for example
IDirect3DTexture9 **tex;
this way I can get a list of pointer of IDirect3DTexture9?
or I must do this:
IDirect3DTexture9* tex[];??
IDirect3DTexture9* tex[] == IDirect3DTexture9 **tex
Just like
int[] is really an int*
But like SumDude said, its a lot easier to just manage an STL container such as
std::vector<LPDIRECT3DTEXTURE9>
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement