我最亲爱的说

子非鱼,焉知鱼之乐.

导航

11 2012 档案

诫子篇
摘要:诫子篇 诸葛亮 夫君子之行,静以修身,俭以养德。非澹泊无以明志,非宁静无以致远。夫学须静也,才须学也,非学无以广才,非志无以成学,淫漫则不能励精,险躁则不能治性,年与时驰,意与日去,遂成枯落,多不接世,悲守穷庐,将复何及! 阅读全文

posted @ 2012-11-28 20:36 我最亲爱的说 阅读(166) 评论(0) 推荐(0)

编程实践5-8
摘要:编程实践5-8课程元素类型 任务杨辉三角using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace sj_5_8{ class Program { static void Main(string[] args) { int[,] iA = new int[10, 10]; for (int i = 0; i < iA.GetLength(0); i++) { ... 阅读全文

posted @ 2012-11-28 11:44 我最亲爱的说 阅读(116) 评论(0) 推荐(0)

课堂题目5-4
摘要:课堂题目5-4课程元素类型 任务输入某班10名同学语文、数学、英语期末考试成绩,输出各门课程平均成绩。总结:二维数组开端using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _5_4{ class Program { static void Main(string[] args) { double[,] dA = new double[3, 3]; //存放成绩数组 string[]... 阅读全文

posted @ 2012-11-28 11:04 我最亲爱的说 阅读(137) 评论(0) 推荐(0)

编程实践5-7
摘要:编程实践5-7课程元素类型 任务统计选票。100位村民投票,从3位候选人中选出村长和村支书。规定得票最高者为村长,次高者为村支书。统计时,输入得票候选人的姓氏,输出投票结果。总结:大于两个的数据,尽量用数组,写程序要考虑到拓展,要程序拥有良好的拓展性。using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace sj5_7{ class Program { static void Main(string[] args) { ... 阅读全文

posted @ 2012-11-28 09:57 我最亲爱的说 阅读(168) 评论(0) 推荐(0)

编程实践5-6
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace sj5_6{ class Program { static void Main(string[] args) { string strA, strB; //string strC, strD; int j; strA = "aeiouAEIOU"; strB = C... 阅读全文

posted @ 2012-11-28 09:06 我最亲爱的说 阅读(163) 评论(0) 推荐(0)

编程实践5-5
摘要:课程元素类型 任务随机产生100个大小写字母,统计其中各元音字母(不分大小写)的个数。总结:char型不能直接赋值给string型。using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace sj_5_5{ class Program { static void Main(string[] args) { int[] dA; int i,j,n; ... 阅读全文

posted @ 2012-11-27 11:14 我最亲爱的说 阅读(144) 评论(0) 推荐(0)

5-3字符逐位比较大小
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _5_3{ class Program { static void Main(string[] args) { string strA, strB; int i; bool bA; i = 0; bA = true; Console.Write... 阅读全文

posted @ 2012-11-27 09:34 我最亲爱的说 阅读(214) 评论(0) 推荐(0)

c#拓展项目作业
摘要:拓展项目2-1课程元素类型 任务已知三角形的三条边长a、b、c,求三角形的面积。--------------------------------------------------------------------------------------------------拓展项目3-1课程元素类型 任务2011年9月1日起,个税免征额3500元,个人所得税税率表如http://baike.baidu.com/view/8105079.htm编写程序,实现个人所得税的计算。------------------------------------------------------------ 阅读全文

posted @ 2012-11-26 14:31 我最亲爱的说 阅读(208) 评论(0) 推荐(0)

SharpDevelop_3.2.1.6466_Setup软件安装汉化
摘要:因为学校的机器用vs2008比较卡所以我找了一个替代品SharpDevelop.SharpDevelop_3.2.1.6466_Setup下载地址是:http://www.icsharpcode.net/OpenSource/SD/Download/因为是国外网站如果上不去 我上传到了百度盘里:http://pan.baidu.com/share/link?shareid=108241&uk=825098158这个安装需要先安装.net3.5版本的,http://www.baidu.com/s?ie=utf-8&bs=.net+framework+3.5&f=8& 阅读全文

posted @ 2012-11-23 15:34 我最亲爱的说 阅读(788) 评论(0) 推荐(0)

程序员到底怎么了?
摘要:原文地址:http://developer.51cto.com/art/201206/341162.htm程序员到底怎么了,我们当然不否认有很多出色的程序员,他们生活的好,赚的也多,可是毕竟大多数都还是一般水平,很多还是挣扎在基本满足吃住的水平。特别深的问题,比如国家社会问题(总有人会说我们的社会把我们搞成了这个样子),我这里不想谈,我来结合自己的体会来讲讲我所认识的一些程序员都在怎样工作和生活。(@程序员的那些事 微博配图)我周围的程序员大都不喜欢程序员这个行业,总希望如果未来可能,一定要跳出这个圈,去做别的行业,有的说去做销售,有的说回老家开个小超市,有的说的更是离谱。我不知道为什么他们都 阅读全文

posted @ 2012-11-21 19:11 我最亲爱的说 阅读(213) 评论(0) 推荐(0)

编程实践5-3
摘要:假定有一个数组,已经存放有互不相同的整数。输入一个数,要求从数组删除与该数相同的元素,并将其后的元素逐个向前替补,最后一个元素置0。输出删除后的数组。如原数组中无此数,则输出“无此数”。using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _5_3{ class Program { static void Main(string[] args) { int[] dA; int i,j... 阅读全文

posted @ 2012-11-21 11:39 我最亲爱的说 阅读(118) 评论(0) 推荐(0)

摇色子(两颗色子)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _5_2{ class Program { static void Main(string[] args) { int[] dA; int dB; dA = new int[13]; Random r = new Random(); for (int i = 0; ... 阅读全文

posted @ 2012-11-21 11:05 我最亲爱的说 阅读(230) 评论(0) 推荐(0)

编程实践5-4
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _5_3{ class Program { static void Main(string[] args) { int[] dA; int i, j; dA = new int[100]; for(i = 0;i<100;i++) { ... 阅读全文

posted @ 2012-11-21 10:50 我最亲爱的说 阅读(169) 评论(0) 推荐(0)

注册页面制作
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF- 阅读全文

posted @ 2012-11-19 16:20 我最亲爱的说 阅读(267) 评论(0) 推荐(0)

WEB表单
摘要:<html><head><title>MyForm</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><form action="#" method="get" name="MyForm" id="myForm"> <input type="t 阅读全文

posted @ 2012-11-19 14:48 我最亲爱的说 阅读(146) 评论(0) 推荐(0)

C#编程实践5-1题目解答
摘要:编程实现,输入n个儿童的年龄,统计这n个儿童中共有多少个不同的年龄。 int[] intA; string[] strA; int intB, i; intA = new int[13]; strA = new string[13]; i = 1; do { Console.Write("请输入儿童的年龄(输入-1结束统计输出结果):\n"); intB = Convert.ToIn... 阅读全文

posted @ 2012-11-14 11:36 我最亲爱的说 阅读(251) 评论(0) 推荐(0)

4-7-
摘要:double dbA; string strA; Console.WriteLine(" 学生成绩管理系统"); Console.WriteLine(" 输入(-1退出系统)"); do { Console.Write("请输入学生的成绩:"); dbA = Convert.ToDouble(Console.ReadLine()); if (dbA == -1) ... 阅读全文

posted @ 2012-11-14 09:07 我最亲爱的说 阅读(159) 评论(0) 推荐(0)

continue用法
摘要:其作用为结束本次循环。即跳出循环体中下面尚未执行的语句,对于while循环,继续求解循环条件。而对于for循环程序流程接着求解for语句头中的第三个部分expression表达式。 continue语句和break语句的区别是: continue语句只结束本次循环,而不终止整个循环的执行。而break语句则是结束整个循环过程,不再判断执行循环的条件是否成立。 continue语句的作用是跳过循环本中剩余的语句,并到循环末尾。 continue语句只用在for、while、do-while等循环体中, 常与if条件语句一起使用, 用来加速循环。 示例(C语言) #include<s... 阅读全文

posted @ 2012-11-14 08:48 我最亲爱的说 阅读(1658) 评论(0) 推荐(0)

C++第三讲事例程序2 笔记
摘要:#include <iostream>using namespace std;int main(){ int sum = 0; int i; cout << "请输入"; while(cin >> i) { sum += i; //while(cin.peek() == ' ')//这里的用处是 从数据流中读取一个字符 判断是不是空格 但读取的数据并不从数据流中删除 //{ // cin.get();//这里的用处是 从数据流中读取一个字符 并把他从数据流中删除 //} if... 阅读全文

posted @ 2012-11-10 16:34 我最亲爱的说 阅读(188) 评论(0) 推荐(0)

cin、cin.get()、cin.getline()、getline()、gets()等函数的用法
摘要:学C++的时候,这几个输入函数弄的有点迷糊;这里做个小结,为了自己复习,也希望对后来者能有所帮助,如果有差错的地方还请各位多多指教(本文所有程序均通过VC 6.0运行)转载请保留作者信息;1、cin1、cin.get()2、cin.getline()3、getline()4、gets()5、getchar()1、cin>> 用法1:最基本,也是最常用的用法,输入一个数字:#include <iostream>using namespace std;main (){int a,b;cin>>a>>b;cout<<a+b<<e 阅读全文

posted @ 2012-11-10 16:21 我最亲爱的说 阅读(235) 评论(0) 推荐(0)

C++第三讲笔记
摘要:#include <stdio.h>#include <stdlib.h>void main(){ int i = 0; int sum = 0; char ch; printf("请输入一串整数和任意数目的空格:"); while(scanf("%d",&i) == 1)//scanf("%d",&i) 说明只接收整数数据 空格或者字符不算在内 所以这里i只接收整数数据 { sum += i;//接收成功后 把他与sum相加// while((ch = getchar()) == ' 阅读全文

posted @ 2012-11-10 16:07 我最亲爱的说 阅读(133) 评论(0) 推荐(0)

C++第二课 笔记
摘要:cout<<"五年级一班数学成绩表\n"; cout<<"首先是第一名许凡的成绩:\t"<<100; cout<<endl; cout<<"首先是第二名张友的成绩:\t"<<90+9; cout<<endl; cout<<"首先是末一名林杰的成绩:\t"<<(float)5/8; cout<<endl; system("pause"); return 0;endl是刷新的意思。 阅读全文

posted @ 2012-11-10 14:53 我最亲爱的说 阅读(137) 评论(0) 推荐(0)

C++第一课笔记
摘要:#include<iostream>using namespace std;int main(){ cout<<"第一个程序\n"; int x; cin>>x; cout<<x; system("pause"); return 0;}其中 cin为输入 >> 后为输入的数据存放的变量名count为输出 <<后的内容将被输出 如果<<后为变量则将变量名输出。 阅读全文

posted @ 2012-11-10 14:44 我最亲爱的说 阅读(132) 评论(0) 推荐(0)

WINDOWS内核学习步骤
摘要:(一)内核驱动入门1.驱动级HelloWorld2.驱动框架理解(二)内核开发基础3.驱动级文件与注册表操作4.中断运行级别5.同步与多线程6.内核数据结构7.应用程序与驱动通信与弹窗(三)内核高级技术8.DKOM9.HOOK/DKOH10.回调(进程/线程/模块/注册表等)11.文件系统(sfilter/minifilter)12.网络驱动(tdi/ndis/wfp)13.PE文件结构/汇编与逆向(ida/ollydbg)(四)内核编程综合应用14.主防(HIPS)15.沙盘(SANDBOX)16.防火墙(TDI/NDIS/WFP)17.ARK/基于MBR和BIOS的BOOTKIT技术分析与 阅读全文

posted @ 2012-11-09 19:41 我最亲爱的说 阅读(897) 评论(0) 推荐(1)

4-5编程实践 改进版 仅供参考
摘要:4-5编程实践 改进版 仅供参考//******************************************************//变量声明 A 上限 B下限 C记录有多少素数 blC素数判断int intA, intB, intC;bool blC;blC = true;intA = 0;intB = 0;intC = 0;//******************************************************//输入上限下限并判断是否符合要求Console.WriteLine("请输入上限:");intA = Convert.To 阅读全文

posted @ 2012-11-07 13:24 我最亲爱的说 阅读(186) 评论(0) 推荐(0)

win7 c#命令行编译
摘要:先运行C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat然后转到源代码目录 后 执行命令csc /out:Program.exe Program.cs编译--------------------写了一个批处理来快速的执行编译功能@echo offset /p a=请输入编译路径:set /p j=编译后保存的文件名:C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe /out:%j% %a%----------------------------- 阅读全文

posted @ 2012-11-02 18:00 我最亲爱的说 阅读(296) 评论(0) 推荐(0)