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

dir subjectRepliesPromoted/BookmarkedAuthorViewslast post
.
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
.GCC C++ vs Visual Studio C++ →|
在 Visual Studio/C++ 2010 SP1 有解了,這樣在 win32 使用 gtk 就更容易了。可以用 指定 text 在 compile 時 string encoding 要用 UTF-8,不要弄成 ANSI,就可以避免 string 被轉成 big5。
131/1eliu47667
2014-12-25
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
.GTK+ 所需要 C 基礎 →|
好像沒提到 make 話說 autotools 最早似乎是用來簡化作 Makefile 程序的工具啊~時至今日,已經變成怪物了...
51/1本人已不在此站活動16852
2008-05-06
guest
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/1eliu15421
2008-05-07
eliu
.測試 charset-detector:自動偵測文件編碼的小程式
          http://blog.linux.org.tw/~jserv/archives/001672.html     #include<stdio.h> #include<stdlib.h> #include<dlfcn.h>
0/1qrtt14705
2008-02-27
qrtt1
.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/0eliu4092
2012-05-25
eliu
.或許 Android 應該逐漸放棄 java 改用 C/C++ 了 →|
java 沒有 unsigned byte, short, int …,如果需要 unsigned byte,要改成 short. 或許這是 java 比較浪費 memory 的一個原因。
231/0eliu69741
2015-06-29
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
2,1 



Referer
Top search items