cht電腦資訊LanguageC/C++
visit:31612adm Find login register

Sorting by score
dir subjectRepliesPromoted/BookmarkedAuthorViewslast post
.
或許 Android 應該逐漸放棄 java 改用 C/C++ 了 →|
java 沒有 unsigned byte, short, int …,如果需要 unsigned byte,要改成 short. 或許這是 java 比較浪費 memory 的一個原因。
231/0eliu69740
2015-06-29
eliu
.GCC C++ vs Visual Studio C++ →|
在 Visual Studio/C++ 2010 SP1 有解了,這樣在 win32 使用 gtk 就更容易了。可以用 指定 text 在 compile 時 string encoding 要用 UTF-8,不要弄成 ANSI,就可以避免 string 被轉成 big5。
131/1eliu47666
2014-12-25
eliu
.Android NDK 的簡單的使用說明
下載 Android NDK Android NDK 可用來 compile C/C++ 產生 ARM/X86  的 .so or executable,Android java 程式 可用 JNI (java native interface) call .so 裏面的 C function。 JNI 的部分直接在 eclipse create JNI 的 android s
0/0eliu4379
2013-09-13
eliu
.gtk win32 & multiple-monitor support
Some display cards especially laptop/notebook support multiple monitors. For Windows/win32, the left/top boundary of the virtual screen is: If the desktop monitor(with taskbar & desktop icon) &nb
0/0eliu4090
2012-05-25
eliu
.M$ Visual Studio 2010 的爛翻譯
看起來是用程式翻譯的?C 編譯器Char型別→已簽署(/char signed)?應該翻譯成「有號」或「有正負號」 才對    
0/0eliu3749
2011-11-24
eliu
.
gtk win32 & Named Pipe server
If we use ReadFile in another thread other than the gtk_main(), update to widget is not executed until there is a GTK widget event (focus, key mouse); this is not acceptable. Thus we need a way to inf
0/0eliu5581
2011-02-03
eliu
Windowsunicode console ? →|
用來 print  debug message 用的,我有把 UTF-16 用 WideCharToMultiByte 轉成 UTF-8,還是不行。
50/0eliu21922
2010-03-09
eliu
.win32 GetOpenFileName →|
我覺得SHBrowseForFolder這個 function 設計得很爛,很難用。 
20/0eliu11726
2009-10-12
eliu
.Microsoft Visual Studio 的 resource icon path
我現在還是用 Visual Studio 2005 如果在 Visual Studio 圖形介面改 resource icon path,會造成舊的內容 .ico overwrite 新的 path .ico。 每次都要弄半天才可以,怎麼弄出來的也不知道。 現在發現最簡單的解法就是直接 edit .rc  file,直接改裏面的 icon path。
0/0eliu4858
2009-09-24
eliu
.GCC wide character (UTF-16) & iconv →|
從wikipedia看來的:Under Win32, wchar_t is 16 bits wide and represents a UTF-16 code unit. On Unix-like systems wchar_t is commonly 32 bits wide and represents a UTF-32 code unit. 可是'試'出不來 :(  字元數
122/2eliu42601
2009-06-16
ychao
Linux
LD_PRELOAD →|
有可能可以,只是我現在很少用 skype 了。
60/0eliu22631
2009-06-11
eliu
.Linux gcc C vs C++ executable size
因為 Windows Microsoft Visual Studio C compiler 限制比較多,gcin 在 Visual Studio 沒辦法 compile,乾脆就改成 C++ 來 compile。 先在Linux 轉看看,gcin strip後的 executable size為 C++   216876 C:  &nb
1/1eliu4661
2009-06-08
eliu
WindowsProgram Files →|
用 C:\Program" "Files\ ..\xxx.exe  就可以    "C:\Program Files\ ..\xxx.exe"     竟然不行,真的超機車。 
21/0eliu12305
2008-05-29
eliu
.混合 Managed and Unmanaged Code →|
問題是 function  的 variable 如果是宣告成 managed variable,call function 傳進去的 variable 就一定要是 managed variable.
30/1eliu15420
2008-05-07
eliu
.[閒聊]為什麼這裡很冷清? →|
囧rz......
30/0carl_tw12347
2008-05-07
carl_tw
2,1 



Referer
Top search items