+++++++++++++++++++++++++ 第一部分 Autotools 基礎 介紹 ++++++++++++++++++++++++++++(注意:要實際用的開發模式,見第二部分以後。)The GNU build system has two goals:The first is to simplify the development of portable programs. The second is to simplify the building of programs
--查詢資料庫中所有記錄總數不為0的資料表名稱--聲明變數declare @TableName nvarchar(250) --聲明一個遊標mycursor,select語句中參數的個數必須要和從遊標取出的變數名相同declare mycursor cursor for select name from sys.tables order by name --開啟遊標open mycursor --從遊標裡取出資料賦值到我們剛才聲明的變數中fetch next from mycursor
查詢所有Informix資料表欄位類型SQL語句:select a.tabname,b.colname,b.coltype,case b.coltype when '0' then 'CHAR' when '1' then 'SMALLINT' when '2' then 'INTEGER' when '3' then 'FLOAT' when '4' then 'SMALLFLOAT' when '5' then 'DECIMAL' when '6' then 'SERIAL' when
今天完成了一個用cookie記錄使用者名稱的功能,之前沒有考慮到使用者的使用者名稱如果是中文會是怎樣的影響。就在測試的時候,用了一個中文去登陸,發現報錯,錯誤資訊如下:java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value後來上網查了下,才知道原來是轉碼的問題,解決方案如下;J2EE
IntroductionRemoving flicker from an MFC application is well-covered territory. You can find the topic addressed in books, and on-line. However, the techniques presented are somewhat complicated and are usually difficult to add to an existing
今天需要用到oracle資料庫,我把資料庫裝在了一個虛擬中,可用vmplayer開啟虛擬機器的時候,無法開啟虛擬機器: winXPPro.vmx。顯示的內容大概是: File "winXPPro.vmx" line 2: Value "8" for variable "config.version" is not valid in encoding