cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
need help to cast from array of floats t
need help to cast from array of floats to void* ?
Jan 16, 2013 at 5:06pm UTC
yyoni69
(27)
Hi
I need help with casting issues
i have function that gets some void* data
and i try to send it float** array but its write an error
"error: cannot convert to a pointer type"
how can i casting the floats array to void* ??
thanks
Jan 16, 2013 at 5:21pm UTC
fafner
(377)
try something like:
float
*foo=
static_cast
<
float
* >(voidPointer);
Topic archived. No new replies allowed.