Time of Update: 2014-12-22
標籤:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using
Time of Update: 2014-12-29
標籤:指標數組和二級指標 1 #include<stdio.h> 2 3 int main(){ 4 int a[5] = {1,3,5,7,9}; 5 int *p[5], i; 6 int **pp = p; 7 //使p指標數組指向每一個a 8 for(i = 0 ; i < 5 ; i++){ 9 p[i] =&a[i];10 }11
Time of Update: 2015-01-03
標籤:環境:windows8.1專業版 問題:啟動C:\Windows\System32\logiLDA.DLL時出現問題,找不到指定模組 每次開機都會彈出所示的資訊。 經過尋找是羅技滑鼠驅動的問題;而把驅動卸載之後還是會彈對話方塊,更讓人受不了的是C:\Windows\System32\logiLDA.DLL是存在的。 大部分的情況是系統硬碟不在C盤,而我的在C盤,同樣出現這樣的問題。 系統硬碟不在C盤的解決辦法:
Time of Update: 2014-12-26
標籤:位元組緩衝器處理類: /// <summary> /// 位元組緩衝器 /// </summary> public class ByteQueue { private List<byte> m_buffer = new List<byte>(); public bool Find() { if (m_buffer.Count == 0)
Time of Update: 2014-12-23
標籤:DateTime dt = DateTime.Now; Label1.Text = dt.ToString();//2005-11-5 13:21:25 Label2.Text = dt.ToFileTime().ToString();//127756416859912816 Label3.Text =
Time of Update: 2014-12-19
標籤:http://www.developer.com/net/csharp/top-10-c-6.0-language-features.html1,單行函數運算式化用=>簡化只有一行的函數。class Employee{ // Method with only the expression public static int CalculateMonthlyPay(int dailyWage) => dailyWage * 30;}2,?--條件
Time of Update: 2014-12-22
標籤: /// <summary> /// 中綴運算式到逆波蘭運算式的轉換及求值 /// </summary> public class RpnExpression { #region 定義屬性 int Top = -1; #endregion /// <summary> /// 檢查中綴運算式是否合法
Time of Update: 2014-12-15
標籤:io ar sp for on art cti ad ef using System;using System.Collections.Generic;using
Time of Update: 2014-12-17
標籤:style blog ar color sp for strong on 檔案 1、for迴圈嵌套----最基礎題目:求階乘的和 int sum = 0; int n =
Time of Update: 2014-12-15
標籤:style blog io ar color os sp for on private void button1_Click(object sender, EventArgs e)
Time of Update: 2014-12-15
標籤:ar os sp on 資料 bs ad as line  
Time of Update: 2014-12-10
標籤:style blog http io ar color os 使用 sp C#.NET
Time of Update: 2014-12-11
標籤:style blog http io ar color os sp for 關鍵代碼: using System;using System.Collections;using
Time of Update: 2014-12-10
標籤:http io ar os 使用 sp for strong on 1.關於列印分類樹
Time of Update: 2014-12-11
標籤:winform datagridview style blog io ar color sp for 1、清空DataGridView 1 /// <summary> 2
Time of Update: 2014-12-12
標籤:des cWeb style blog io ar color os sp public class WebServiceClient {
Time of Update: 2014-12-30
標籤: 第一版(單向有類型): //author:Yuqingmu//當不能用STL時,自己實現一個無類別鏈表#include "MemLeak_Check.h"#include "stdafx.h"#include <stdlib.h>typedef struct Node{ int nValue; Node *next;}NODE,*pNODE;int PushDataToList(NODE ** pHead,int nData){ NODE *plastNode =
Time of Update: 2014-12-22
標籤:概述 其實x進位轉十進位的演算法都差不多,不過如果是針對於字元形式,他們卻有點不同.使用指標和數組的形式計算,又不同.這裡示範將字元型的數組形式的八進位轉成十進位: 1 #include <stdio.h> 2 #include <string.h> 3 #include <math.h> 4 5 #define MAX 10 6 7 //初始化數組為八進位. 8 void 9 init(char *octal) {10
Time of Update: 2014-12-10
標籤:style blog http io ar color sp for div //normal#include <stdio.h>int main() { for
Time of Update: 2014-12-18
C程式示範產生僵死進程的過程,c程式示範僵死進程先抄錄網上一段對僵死進程的描述:殭屍進程:一個進程使用fork建立子進程,如果子進程退出,而父進程並沒有調用wait或waitpid擷取子進程的狀態資訊,那麼子進程的進程描述符仍然儲存在系統中。這種進程稱之為僵死進程。在每個進程退出的時候,核心釋放該進程所有的資源,包括開啟的檔案,佔用的記憶體等。 但是仍然為其保留一定的資訊(包括進程號the process ID,退出狀態the termination status of the process,