Main Contents

Author Archives: lui

Website
http://kc-lui.blogspot.com/

多型的陷阱

多型的陷阱

1: class A {…};2: class B {…};3: class C: public A, private B {…};4: A a = new C();5: B b = new C();在C++中,繼承有public, protected and private如果使用private的話 第5行編譯是不會過的 因為privated下是看...

差點被考到的程式碼

差點被考到的程式碼

昨天面試 其中一個主管很在意coding能力我也跟他說我coding很好他就要考考我考了兩題後 他發現太無趣了 就從一堆題目中找了一題出來說這題過去沒幾個人講的出來#define fun(A, b) (int)(&...

100種生活

100種生活

詞 鍾成虎 曲 盧廣仲*整個世界 停止 不轉動 很寂寞走在海邊 數著 螢火蟲 好困惑想要的生活怎麼有一百種不想掉進這深深 漩渦 整<...

google code jam第三題

google code jam第三題

google code jam今天早上比了第一場看了一下第三題問題是 3 + 5^0.5 取n次方後 求整數前三位數字看起來很簡單 但一看就知道是誤差問題看到解出來的人的解答 真的突然覺得自己數學變好差...

內積與外積

內積與外積

內積、外積定義內積:物理學中求功的公式,數學上是v投影在u上的長度之積。外積:外積是求一個相關的向量,外積出來的向量垂直於原向量。在幾何中,外積的大小等於兩向量所成的矩形的<...

心 情

心 情

聽完畢業公演

心情跌到谷底

...

Ten Rules for Web Startups

Ten Rules for Web Startups

#1: Be NarrowFocus on the smallest possible problem you could solve that would potentially be useful. Most companies start out trying to do too many things, which makes life difficult and turns you into a me-too. Focusing on a small niche has so many ...

motion planning using probability roadmap

motion planning using probability roadmap

The probobility roadmap is widely used for autonomous mobile robot path planning. It focus on multi-qurey. Initially, build the roadmap in configuration space, after that we can search a path each query, in which we don’t rebuild the roadmap.

why use android

why use android

星期六去了google developer day聽了四場演講分別是Gears, GData, Android Introduce, Android VMGears跟GData算是比較冷門的它們兩個可以說是很偏應用性的東西 可能知道一下 以後有需要再用就好了下午的A...

我完了

我完了

昨天打球 因為手腕還沒好 投球都歪歪的只好一直切入最近切入都很不錯 都抓到切入的點 身體也壓得下去不錯不錯但我膝蓋真的爛掉了今天早上起來一直在痛看來是又韌帶發炎了 T____...

Page 1 of 3123»


Feed