原创 How to develope Cmdlet in vs2008 under windows server 2008

How to Develop cmdlets under 2008 Andrew, March 10, 2009 Environment: Windows Server 2008 build 6001,sp1. VisualStudio

原创 projecteuler problem 15 solution

  Starting in the top left corner of a 2*2 grid, there are 6 routes (without backtracking) to the bottom right corner.

原创 c# 反射時GetType方法查找Type的分析

反射是高級語言裏面很強大的一種機制。C#也給我們提供了強大的反射機制。反射使用起來非常簡單,最常見的步驟是: 1,定義一個Type 對象, Type myType; 2,通過字符串或者其它流初始化該對象,MyType = Type.Get

原创 用PowerShell刪除所有指定類型的文件

ls $folder -r | % { if($_.name -match "pch$" -and $_.mode -notmatch "d"){ del $_.FullName}}   作用:刪除當前目錄下面所有後綴爲pch的文件,文件

原创 Generic 和 cast 的 性能比較

public class Obj { Object _t; Object _u; public void run(Object u, Object t) {

原创 projecteuler19

You are given the following information, but you may prefer to do some research for yourself. 1 Jan 1900 was a Monday.

原创 [MFC Samples Of VS2008] 1, Simple Image

[打開例子] VS2008->help->Samples, ALLVCSamples/MFC/general/simpleimages. 雙擊SimpleImages.sln打開工程。   [編譯運行] 工具欄設置編譯版本(start按鈕

原创 Powershell commands 祥解之 Add-Type

    Add-Type,巨強悍的一個東西用途    添加一個新的.NET類型到當前會話中去。支持C#,vb,javascript,dll...例子1,通過代碼添加新類型         C:/PS>$source = @"    pub

原创 c#ComfigurationManager的使用

Usage of ConfigurationManager   If you want to write an key to your ConfigurationManager.AppSettings, please using foll

原创 一篇解釋全排列比較清楚的文章

http://hi.baidu.com/cn_rigel/blog/item/d5dfeeae5e4892c07dd92ae8.html 點贊 收藏 分享 文章舉報 TADICA

原创 Tray Application

http://www.codeguru.com/cpp/controls/controls/systemtray/article.php/c5309 點贊 收藏 分享 文章舉報

原创 COM from code project

http://www.codeproject.com/KB/COM/com_in_c1.aspx 點贊 收藏 分享 文章舉報 TADICAN 發佈了65 篇原創文章 · 獲贊

原创 project euler problem 15(錯誤原因,溢出。該題可以用二項式係數公式算出結果)

                                              // Routes.cpp : Defines the entry point for the console application. //

原创 [MFC Samples Of VS2008] 2, tracker

[打開例子] VS2008->help->Samples, ALLVCSamples/MFC/general/tracker. 雙擊tracker.sln打開工程。   [編譯運行] 工具欄設置編譯版本(start按鈕右邊的下拉框)爲Re