Jan 20, 2013 at 5:31pm UTC
i trying to cast a float to void* and its make an error
"cannot convert to a pointer type"
someone can help?
Jan 20, 2013 at 5:56pm UTC
what you say in your post is somewhat silly (cast a float to void* ) - not going to happen.
post your code - so we can see what you are actually trying to do ( maybe you mean that you want to cast the address of a float to a void pointer)
Last edited on Jan 20, 2013 at 6:02pm UTC
Jan 20, 2013 at 7:23pm UTC
never mind i got it ..
i have array of floats float** arr
and i wanted to sent it to a function that gets (void*)data
but its all ok i succeed
thanks anyway