DotNetZip on CodePlex: http://dotnetzip.codeplex.com/詳細的可以看原始碼……總之感覺比SharpZipLib好用。而且DotNetZip支援VB,C#以及任何.NET語言。加壓:(從CodePlex上偷過來的) using (ZipFile zip = new ZipFile()) { // add this map file into the "images" directory in the zip archive
0. 序列化概念序列化是將對象轉換為容易傳輸的格式的過程。例如,可以序列化一個對象,然後使用 HTTP 通過 Internet 在用戶端和伺服器之間傳輸該對象。反之,還原序列化根據流重新構造對象。XML 序列化僅將對象的公用欄位和屬性值序列化為 XML 流。1. XmlSerializer 類將對象序列化到 XML 文檔中和從 XML 文檔中還原序列化對象。XmlSerializer 使您得以控制如何將對象編碼到 XML 中。2. 什麼是 XML 序列化?XML 序列化是將對象的公用屬性
也是中軟筆試的演算法題,當時並不知道叫楊輝三角,唉。N年不用了,還得再拾起,為了那個夢。#include <stdio.h>void main() { int a[50][50]; int i,j,n; printf("Please input Number:"); scanf("%d",&n); for (i=0;i<n;i++) { for (j=0;j<=i;j++) {
/// <summary> /// 寫一個函數處理字串,比如輸入”I am a girl”,輸出”girl a am I” /// </summary> /// <param name="p"></param> /// <returns></returns> private static string
【引用 《智能家電控制技術》協助文檔 這裡有很是HTML版的,很實用好查,但就是不能下載成CHM版的,本地是不能用啊。】1.#operator not followed by macro argument name"#"運算子後無宏變元名。在宏定義中,"#"用於標誌一宏變元是一個串,因此,在"#"後面必須要跟隨一個宏變元名。2.'xxxxxxxx'not an argument'xxxxxxxx'不是函數參數。在原程式中將該表識符定義為一個函數,但他沒有在函數表中出現。3.Ambiguous