有幾個事情需要先做一下:元對象設計,包括規則,數格以及其間的介面設計。需要完全的與介面解除耦合,最好按MVC設計。需要將操作介面抽象出來。解題演算法,題目產生演算法的C++實現模式題目產生器常用函數和演算法的C++移植目標數獨類型:標準數獨,6階數獨,對角線數獨,鋸齒數獨GAE網站開發:KLSudoku連結,數獨WIKI,網站連結,開發部落格 第一次用Windows Live Writer 寫日誌,⊙﹏⊙b汗~~~~
在做一些應用的時候,可能會隨時動態改變一些控制項的大小(比如QLabel),如果控制項裡的文字的大小不隨之變化的話,就很容易出現太小,或者超出控制項的情況發生。 可以使用下面的代碼來調整控制項字型的大小:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> int cellwidth=26; int fontsize=1; while(
最近開發的遊戲《哆啦A夢奇蹟之島》,在googleplay上架一周,下載量還可以。但今天被googleplay刪除了,原因是侵權...悲劇了~REASON FOR REMOVAL: Violation of the intellectual property and impersonation or deceptive behavior provisions of the Content Policy.沒想到googleplay審核這麼嚴格,以後做開發不能盲目的抄襲。後面又投放到國內的電子市場,
傳送簡訊的方法有兩種方法可以實現傳送簡訊,其一是使用intent-startActivity,URI資料格式為"smsto:num",調用的action為Intent.ACTION_SENDTO:Uri uri = Uri.parse("smsto:5554"); Intent it = new Intent(Intent.ACTION_SENDTO, uri); it.putExtra("sms_body", "你好。。");
必須建立/lib/modules/2.6.30.4這樣一個空目錄,否則不能卸載ko模組.# rmmod nls_cp936rmmod: chdir(/lib/modules): No such file or directory但是這樣倒是可以卸載nls_cp936,不過會一直有這樣一個提示:rmmod: module 'nls_cp936' not found 初步發現,原來這是編譯kernel時使用make
[root@qljt globalmem]# make -C /linux_kernel/linux-2.6.30/ M=/linux_drivers/06/globalmem/ modulesmake: Entering directory `/linux_kernel/linux-2.6.30' CC [M] /linux_drivers/06/globalmem/globalmem.oIn file included from include/linux/gfp.h:4,