原创 高質量C/C++編程總結-與零值比較
布爾變量與零值比較 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />不可將布爾變量直接與TRUE、FALSE或者1、0進行比較 i
原创 assert測試
#include "stdafx.h"#include "assert.h" int main(int argc, char* argv[]){ int a = 0; assert(a!=0); printf("Hello Wor
原创 如何在瀏覽器裏面將"/u53f0/u6e7e/u7701"轉換爲漢字
將/u替換成爲&#x,然後在瀏覽器裏面顯示即可 test.html <html> <head> <title>漢字轉換</title> </head><body>台湾省</body></h
原创 PHP Web服務簡單應用
客戶端client.php <?php ini_set("soap.wsdl_cache_enabled", 0); $client = new SoapClient('test.wsdl'); $functions = $cl