PIXNET Logo登入

韌體開發筆記

跳到主文

歡迎交流

部落格全站分類:不設分類

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 7月 10 週三 201319:50
  • __attribute__

 
好文備份
__attribute__((constructor(PRIORITY)))
__attribute__((destructor(PRIORITY)))
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(207)

  • 個人分類:
▲top
  • 6月 06 週四 201311:50
  • singlaton

Singleton
好文轉貼
 
原文
http://stackoverflow.com/questions/1008019/c-singleton-design-pattern
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(22)

  • 個人分類:
▲top
  • 1月 02 週三 201312: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};
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(144)

  • 個人分類:C 基礎語法
▲top
  • 1月 02 週三 201312:04
  • member address in struct(using 0)

copy from 
http://stackoverflow.com/questions/3553296/c-sizeof-single-struct-member
 
 
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(60)

  • 個人分類:C 基礎語法
▲top
  • 8月 10 週五 201222:09
  • 效能精進

http://godspeedlee.myweb.hinet.net/trick.html
 Hacker's Delight
http://www.hackersdelight.org/
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(58)

  • 個人分類:embedded system
▲top
  • 8月 08 週三 201220:46
  • char , array , pointer

http://twpug.net/docs/ccfaq/node77.html
 
http://good-ed.blogspot.tw/2011/02/char-foo8.html
 
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(76)

  • 個人分類:C 基礎語法
▲top
  • 7月 20 週五 201215: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
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(43)

  • 個人分類:C 基礎語法
▲top
  • 7月 10 週二 201220:21
  • MARCO trick

//========== debug ==================
引用及備分自以下網址
http://www.jeffhung.net/blog/articles/jeffhung/1013/
 
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(622)

  • 個人分類:C 基礎語法
▲top
  • 6月 01 週五 201221:54
  • C struct initialize

出處在下面的網址, 寫的太好 我備分而已
位結構
http://hi.baidu.com/dirac/blog/item/daf8980e62ba01e437d12245.html
C/C++中的struct位结构详解
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(2,398)

  • 個人分類:C 基礎語法
▲top
  • 6月 01 週五 201221:03
  • 關於 if

if ... else的簡寫如下

variable  = 
(condition) ? statment1 : statment2
(繼續閱讀...)
文章標籤

阿肯 發表在 痞客邦 留言(0) 人氣(9,435)

  • 個人分類:C 基礎語法
▲top
123»

個人資訊

阿肯
暱稱:
阿肯
分類:
不設分類
好友:
累積中
地區:

熱門文章

  • (9,435)關於 if
  • (816)static
  • (720)C struct initialize
  • (622)MARCO trick
  • (292)typedef 知多少
  • (73)quick Samba setting in CentOS 5.7
  • (58)效能精進

文章分類

  • C++ 基礎 (1)
  • embedded system (2)
  • linux basic (3)
  • wxWidget (3)
  • 物件導向 (2)
  • C 基礎語法 (16)
  • 未分類文章 (1)

最新文章

  • __attribute__
  • singlaton
  • array struct initialize using X-Marco
  • member address in struct(using 0)
  • 效能精進
  • char , array , pointer
  • socket example
  • MARCO trick
  • C struct initialize
  • 關於 if

最新留言

  • [12/04/30] tzeng0523 於文章「X-Marco sorting many...」留言:
    #include <stdio.h> //#define ...

動態訂閱

文章精選

文章搜尋

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣: