2006-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ã³ã¼ãã£ã³ã°è¦ç´ã¹ã¬ããã 329 ï¼319ï¼04/04/11 17:43 ã¡ãã£ã¨è¨ãæ¹ãã¾ããã£ãã i = 1 // i ã« 1 ãä»£å ¥ãã ã¿ãããªã®ãåé¡å¤ãªã®ã¯ãã¡ããã ãã ããã§ãªããã®ã§ãã³ã¼ãã®ãã£ã¦ãããã¨ãè¦ç´ãã¦ã³ã¡ã³ãã¨ãã¦è¡¨ãã¦ãã以ä¸ã ã³ã¡ã³ããâ¦
http://pc8.2ch.net/test/read.cgi/tech/1128266018/ ããã¯çµæ§åèã«ãªããªãã
http://hiding.blog52.fc2.com/blog-entry-152.html ããããï½ï½ï½ï½ï½ 追è¨ï¼ ã¦ããã http://life7.2ch.net/test/read.cgi/kankon/1133186670/ ãã®ã¹ã¬ããããã¼ï½ï½ï½ï½ï½ï½ï½
class Object{}; class Test{ void func1( Object obj ){}; void func2( Object& obj ){}; void func3( const Object obj ){}; void func4( const Object& obj ){}; void test(){ func1( Object() ); func2( Object() ); func3( Object() ); func4( Object()â¦
func( &(Hoge)Hoge() ); ããããã°ã³ã³ãã¤ã«ãéã£ãã½(´ã¼ï½)ã ã§ãããããã£ã¹ãããã¨ãã«ã³ãã¼ãçºçãã¦ãã®ããªï¼ 追è¨ï¼ ãã®ç¨åº¦ãªãæé©åãããã£ã½ãï¼
void func( Hoge* hoge ); ãã®é¢æ°ã«å¯¾ãã¦ã funt( &Hoge() ); ã£ã¦ããã¨ãARM ã³ã³ãã¤ã©ã§ã¨ã©ã¼ãåºãï¼;´Ðï½ï¼ ããã使ããªãã¨çµæ§ä¸ä¾¿ãªãã§ããâ¦â¦orz
次ãã ARM ã§ã³ã³ãã¤ã«ããåã«ã [âã½Ð«?å浬欺åæ§èåç³æ¾ç®ªè²¼è½è¡¨æ´äºç¦å å媾å½æ¿æ¤æ濬çç§ç¶µèè¹è§¸è»éé¥ é·]\n ããã¤ã§æ£è¦è¡¨ç¾æ¤ç´¢ãã¾ã(´ã»Ïã»ï½) 追è¨ï¼ ããå¾ ã¦ãâ¦â¦ãã¤ããªã¨ãã£ã¿ã§ã 0x5C 0x0D 0x0A â 0x5C 0x20 0x0D 0x0A ããããå¤æâ¦
boolean åã®ã©ããã class Boolean{ Boolean() : _value( false ){} Boolean( const boolean& b ) : _value( b ){} operator const boolean&() { return _value; } Boolean& operator =( const boolean& b ) { _value = b; return (*this); } private: booâ¦
æç»ããç´åã¨ãæååã®é·ããé«ããåå¾ãããã¨ãããã³ã« char ã STREXPAND() 㧠AECHAR ã«å¤æãã¦æç»ã¨ãåå¼ãã¦orz ã©ãã BREW ã® API é¢ä¿ã¯å ¨é¨ AECHAR ãªãã ãããæåãããããã¦ããã°ããã®ã«â¦â¦ã
enum ETest1{ t1 = 0 , t2 = 255 , }; enum ETest2{ t3 = 256 , }; enum ETest3{ t4 = 65536 , }; enum ETest4{ t5 = -10 , // ARM ã§ã¯ã³ã³ãã¤ã«ã¨ã©ã¼ t6 = 0xffffffff , }; ETest1 e1; ETest2 e2; ETest3 e3; ETest4 e4; DBGPRINTF( "e1 : %d" , sizeof(â¦
http://www.kotaro269.com/archives/50182252.html é å¼µãã«ã¤ã¼ã¸ï¼
http://blog.livedoor.jp/soku_vip/archives/50158729.html 妹ã«ã¼ããã¨æã£ã¦ããã©éã£ãâ¦â¦ã
http://headlines.yahoo.co.jp/hl?a=20060215-00000031-imp-sci DoJaã®ãã¼ã¸ã§ã³ã¯1.55eã503iã·ãªã¼ãºç¸å½ã¨ã®ãã¨ã§ãiã¢ããªãç»å ´ããé ã®DoJa 1.0ã¨åçã®è½åã ã¨ããã ä»æ´ DoJa1.0 ã¦ï¼;´Ðï½ï¼
http://labs.cybozu.co.jp/blog/akky/archives/2006/02/10.html æ°ã«ãªããã©è±èªèªããªã(´ã»Ïã»ï½) ショï¾ï¾ï¾
ãããä½äºããªãä¸æ¥ã§ããã
http://www.hatena.ne.jp/1139321835 ãã®è³ªåãã人ããã¤ã¬ãã«ã ããªãâ¦â¦ã
ããããç¶æ¿ä½¿ãã®ãã¢ãã ã£ãããã§ã(´ã»Ïã»ï½) template< class T , class M = global_memory_pool > class Memory{ public: static smart_ptr< T > create(){ void* p = M::operator new( sizeof( T ) ); if( p != null ) ::new( p ) T; return smart_â¦
æ¨æ¥ã®è¿½è¨ï¼ã§æ¸ãããã³ãã¬ã¼ãã ã¨ã³ã³ã¹ãã©ã¯ã¿ãå¼ã¹ãªããã¨ã«æ°ãä»ããã ã¤ã¼ãã¨ã§ã³ã³ã¹ãã©ã¯ã¿ã追å ãã template< class T , class M = global_memory_pool > class Memory : public T , public M{ public: Memory(){} template< class V1 â¦
global operator new ããMALLOC()ï¼ã·ã¹ãã ã¡ã¢ãªï¼ã«ãã£ã¦å²ãå½ã¦ããã¦ããå ´åãããã¯ã©ã¹ãã¡ã¢ãªãã¼ã«ããå²ãå½ã¦ãã«ã¯ã class Hoge{ void* operator new( size_t size ){ return MemoryPool::malloc( size ); } void operator delete( void* â¦
wstring ãä½ã£ã¦ã¿ã¾ããã 詳細ã¯â id:melpon:20051117 id:melpon:20051118 id:melpon:20051119 ãã ããã¡ã¢ãªã®ã¢ãã±ã¼ãã«å¤±æãã¦ã¯ãããªãã®ã§ãï¼ãã®ã¢ããªå ã§ã¯ï¼çµ¶å¯¾ã«å¤±æããªããããªã¡ã¢ãªãã¼ã«ãç¨æãã¦ããå¿ è¦ãããã¾ãã ãã¨ããã¡â¦
va_list ãæ±ãããã®ãã¯ããva_start, va_arg, va_end ããããã©ããããã㯠void** ã«ããæ¹ãããããããã¨æãã®ã¯èªåã®æ°ã®ããã ãããâ¦â¦ã int sum( int num , va_list args ){ int s = 0; va_list list; va_start( list , num ); for( int i = â¦
å人ãããã«ãã®ããé ãã¾ãã(*´д`*) ååã¯ãã©ã³ã°ãã·ã£ããæ称ã¯ãã·ã¢ãã ãã®å¨ã«èããããã(*´д`*)ï¾ï½§ï¾ï½§
int cos = Math::cos( rotate ); int sin = Math::sin( rotate ); int y,x; int yy,xx; for( y = 0 , yy = -h / 2 ; y < h ; y++ , yy++ ){ for( x = 0 , xx = -w / 2 ; x < w ; x++ , xx++ ){ if( src[ x ] != key ){ int u = ((cos * xx + sin * yy) >> 15â¦
http://www.excite.co.jp/world/english/?wb_lp=ENJA&before=ãã»moon å·¥ã¨ï½´ã§ï½ªï¼Â´Ð´ï½ï¼ï½ªã§ï½´ã¨å·¥å·¥
http://allabout.co.jp/computer/av/closeup/CU20060205A/index.htm ï¾ ï¾ ï¾ï¾ï¾ï½¯ï¾ï½°!! Ω ΩΩ
http://www.mainichi-msn.co.jp/shakai/jiken/news/20060205k0000m040057000c.html ã¡ãï½ï½ï½ï½ï½ï½¸ï½¿ï¾ï¾ï½½ï½ï½ï½ï½ï½ï½ï½ï½ï½
èªå·±æºè¶³åºæ¥ãããã«è¡åãããã¨ããä¸çªå¹¸ãã«ãªããéã ã¨æãã
çè«çã«èããã¨ãèªåã¯åå¨ãã¦ããªãã ããããèªåã¯ä»ããã«åå¨ãã¦ããã ãã®çç¾ãããï¼èªåã«ã¨ã£ã¦ã®ï¼ä¸çã®å ¨ã¦ãªã®ã§ã¯ãªãã ãããã
http://blog.livedoor.jp/insidears2/archives/50343368.html ä½ãé¢ç½ãã®ãããåããããã©ããªããçç¬ãã¦ãããï½ï½ï½ï½ï½ï½ï½ï½
ãããä¸ä½ 1bit ã 1 ã§ããæã¯ããããã£ã¦ããå¦çãããããã£ã¦æ¸ãã if( (b & 1) != 0 ){ // å¦ç } ããã¯ãAND 㨠CMP ã®ï¼å½ä»¤ã«å¤æããã AND r0,b,#1 CMP r0,#0 ... æ¯è¼ã®ããã«ï¼å½ä»¤ã使ãã®ã¯ãã¡ãã£ã¨å¿ä½ãªãã ãããçãããã«ã¯ã次â¦