2009年4月3日

摘要: 使用反射 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;using System.Reflection;//需... 阅读全文
posted @ 2009-04-03 20:49 wasd 阅读(228) 评论(0) 推荐(0) 编辑
 
摘要: 1定义和使用委托 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 class program 2 { 3 //1定义委托 4 delegate Person CreatePersonHandle(st... 阅读全文
posted @ 2009-04-03 20:46 wasd 阅读(221) 评论(0) 推荐(0) 编辑
 
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1//此段代码可以让数组传递长度 2//调用方法int a[]={1,2,3,4,5}; 3//f(a); 4//template void 5//f(Type (&arr)[Size]) 6//{ 7... 阅读全文
posted @ 2009-04-03 20:33 wasd 阅读(288) 评论(0) 推荐(0) 编辑
 
摘要: Ubuntu8.10配置主要参考官方的配置指南http://wiki.ubuntu.org.cn/index.php?title=%E9%80%9F%E9%85%8D%E6%8C%87%E5%8D%97&variant=zh-cn1基本命令lsls -lls -achmod 777 a.c 改变权限chmod +x a.c 添加可执行权限chown touch a.c 生成文件,修改文件时间rm a.c 删除文件rm -rf test1 删除文件夹mkdir test2 建立文件夹cat /etc/issue 查看当前操作系统kill -9 (进程号) 杀死进程ps -ef | grep te 阅读全文
posted @ 2009-04-03 20:29 wasd 阅读(271) 评论(0) 推荐(0) 编辑