[c++] memcpy, float, address

07/21/2010 07:38 AutoItDude#1
omfg, how to write float value using memcpy?

Code:
DWORD addr = 0x12345678;
FLOAT value[] = { 100, 200, 300 }; 

memcpy((void*)addr, (void*)((FLOAT)value[1]),4);
gives me an engine crash.

EDITED:
problem solved. nvm lol. please, delete this thread.