- Jul 10 Wed 2013 19:50
-
__attribute__
- Jun 06 Thu 2013 11:50
-
singlaton
- Jan 02 Wed 2013 12:07
-
array struct initialize using X-Marco
http://stackoverflow.com/questions/201101/how-to-initialize-an-array-in-c
If your compiler is GCC you can use following syntax:
int array[1024]={[0...1023]=5};
If your compiler is GCC you can use following syntax:
int array[1024]={[0...1023]=5};
- Jan 02 Wed 2013 12:04
-
member address in struct(using 0)
- Aug 10 Fri 2012 22:09
-
效能精進
http://godspeedlee.myweb.hinet.net/trick.html
Hacker's Delight
http://www.hackersdelight.org/
Hacker's Delight
http://www.hackersdelight.org/
- Aug 08 Wed 2012 20:46
-
char , array , pointer
- Jul 20 Fri 2012 15:42
-
socket example
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/rzab6/poll.htm
http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#blocking
http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#blocking
- Jul 10 Tue 2012 20:21
-
MARCO trick
//========== debug ==================
引用及備分自以下網址
http://www.jeffhung.net/blog/articles/jeffhung/1013/
引用及備分自以下網址
http://www.jeffhung.net/blog/articles/jeffhung/1013/
- Jun 01 Fri 2012 21:54
-
C struct initialize
出處在下面的網址, 寫的太好 我備分而已
位結構
http://hi.baidu.com/dirac/blog/item/daf8980e62ba01e437d12245.html
C/C++中的struct位结构详解
位結構
http://hi.baidu.com/dirac/blog/item/daf8980e62ba01e437d12245.html
C/C++中的struct位结构详解
- Jun 01 Fri 2012 21:03
-
關於 if
- Jun 01 Fri 2012 20:19
-
how to disable or enable std::cout during program running
class CTest{
std::ostream debug_message;
explicit CTest():debug_message( cout.rdbuf() ){} ;
~CTest(){};
std::ostream debug_message;
explicit CTest():debug_message( cout.rdbuf() ){} ;
~CTest(){};
- Jun 01 Fri 2012 20:09
-
strcut 宣告影響速度

原文出處
http://blog.xuite.net/kamory0931/fightdreamer/52223417-%E7%B5%90%E6%A7%8B%E7%9A%84%E5%B0%8D%E9%BD%8A(Struct+Member+Alignment)
結構的對齊(Struct Member Alignment)
