|
-
Nov 30th, 2002, 02:16 PM
#1
Thread Starter
Fanatic Member
memset question
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|