#define ptrsize sizeof( void* )
#define FORCEREAD( type ) *reinterpret_cast<type*>
typedef unsigned char byte;
byte* memory;
memory = static_cast<byte*>( malloc( 1 + ptrsize ) );
FORCEREAD( byte* )( &memory[1] ) = static_cast<byte*>( malloc( 1+ ptrsize ) ); // 아아 무섭다 reinterpret_cast!!
#define FORCEREAD( type ) *reinterpret_cast<type*>
typedef unsigned char byte;
byte* memory;
memory = static_cast<byte*>( malloc( 1 + ptrsize ) );
FORCEREAD( byte* )( &memory[1] ) = static_cast<byte*>( malloc( 1+ ptrsize ) ); // 아아 무섭다 reinterpret_cast!!
아아..
ㅈㅅ 본문 내용 잘못씀 비번을 몰라서 못 지움