- 博客(9)
- 资源 (10)
- 收藏
- 关注
原创 二义性:Common Base Class
// virtualbase.cpp : Defines the entry point for the console application.//#include "stdafx.h"#includeusing namespace std;class A{protected: int a;public: A(int aa):a(aa) {} ~A(void) {}};class B:v
2009-06-24 09:35:00 387
原创 自己实现全排列:I found some old code were good:We should think in a reverse way
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace zuhe{ class Program { static public void zuhe(char[] c, StringBuilder s, int level) {
2009-06-23 16:30:00 261
原创 插入排序:InsertSort:no more than ten lines
using System;namespace insertsort{ class program { static void Main() { int[] arr={56,12,4,89,42,45,4,89}; int len=arr.Length; for(int i=1;i {
2009-06-21 21:52:00 227
原创 选择排序:SelectSort:select the minimum every time
using System;namespace SelectSort{ class program { static void Main() { int[] arr={12,67,2,90,45,67,23,67}; int len=arr.Length; int min,index; for(int i=0;i { m
2009-06-21 00:07:00 220
原创 反射:Type and Reflection
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace House{ public class Class1 { private string name; private int age;
2009-06-09 11:52:00 217
原创 显式和隐式转换:Explicit and Implicit,Immortal and Monster
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { class Immortal { public string name;
2009-06-09 09:07:00 353
原创 索引器:Both Indexer and Switch have two types
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace PTest{ class Program { class WeatherOfWeek { public string this[int Index]
2009-06-08 17:15:00 284
原创 抽象类和抽象方法:Abstract and override,Event ,Indexer
//Test Classusing System;using System.Collections.Generic;using System.Linq;using System.Text;namespace CSharpTest{ public abstract class BaseClass { public abstract String Attribut
2009-06-08 15:48:00 415
原创 圈人数数:An interesting way to delete numbers
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace choice{ class Program { static void Main(string[] args) { int count=0;
2009-06-04 14:56:00 442
A Simple Chatting Program using C++
2009-10-21
Make Two Timers using MFC
2009-09-13
WF Practice
2009-05-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人