目前分類:亂寫程式 (10)

瀏覽方式: 標題列表 簡短摘要


#include <iostream>
#include <unistd.h>

grant823 發表在 痞客邦 留言(0) 人氣()

  • May 23 Fri 2008 03:13
  • 置頂 i=i++



i=i++,

因為這Undefined behavior,

grant823 發表在 痞客邦 留言(0) 人氣()



最近發現有些作業好像滿常出現的

*****

grant823 發表在 痞客邦 留言(0) 人氣()

  • Nov 08 Thu 2007 21:27
  • 置頂 bit

分享一下這比較少用的用法,(也或許只是我自己比較少用到這)

說不定其實很多人都會了。


grant823 發表在 痞客邦 留言(0) 人氣()



看到最近有些人連這文章,

為了避免誤導加點註解了好,

grant823 發表在 痞客邦 留言(0) 人氣()

  • Nov 05 Mon 2007 02:34
  • 置頂 Swap


template<class T>
inline void Swap(T& a, T& b)
{

grant823 發表在 痞客邦 留言(0) 人氣()


#include <iostream>

using namespace std;

grant823 發表在 痞客邦 留言(0) 人氣()

  • Oct 21 Sun 2007 12:33
  • 置頂 BMP2



或許有些人覺得做這很無聊,

那就把我當作一個把無聊當有趣的人吧,

grant823 發表在 痞客邦 留言(0) 人氣()



*.bmp

程式碼強調一點只適合24BIT BMP檔,

grant823 發表在 痞客邦 留言(0) 人氣()

文章分類:讀書心得

Book : Programming Challenges
            The Programming Contest Training Manual

我用自己的方式大概敘述內容,

grant823 發表在 痞客邦 留言(0) 人氣()