2011-05-01から1ヶ月間の記事一覧
unsigned int uia[8]; unsigned char uca[8]; void test() { void* vp; unsigned int* uip; unsigned char* ucp; uip = uia; ucp = uca; vp = uia; // uip = vp; // Error! uip = static_cast<unsigned int*>(vp); vp = uca; // ucp = vp; // Error! ucp = static_cast<unsigned char*>(vp);</unsigned></unsigned>…