Hi
Im following through some OpenGL tutorials and ive come up to a line
memset(TextureImage,0,sizeof(void *)*1);
now im not much of a c++ programmer, i only know the basics ( but i do know pointers )
and what that line above does is, clears out the memory that TextureImage is located. I know what it does but i dont know HOW it does it.
The thing that confuses me is the sizeof(void *)*1)
I just cant work out what that is
Can someone please explain this to me?
Thanks
