本文转载于:http://www.cnblogs.com/gmh915/archive/2010/06/11/1756067.html函数指针是指向函数的指针变量,即本质是一个指针变量。 int (*f) (int x); /*声明一个函数指针*/ f=func; /*将func函数的首地址赋给指针...
分类:
其他好文 时间:
2015-06-27 11:35:58
阅读次数:
70
参考自:http://www.cnblogs.com/lixiaohui-ambition/archive/2012/08/21/2649052.htmlhttp://blog.csdn.net/aobai219/article/details/6092292http://www.cnblogs.c...
分类:
其他好文 时间:
2015-06-27 11:35:47
阅读次数:
109
http://www.cnblogs.com/crazybingo/archive/2010/05/14/1735802.htmlC、VDD、VSS、 VEE 和VPP的区别在电子电路中,常可以看到VCC、VDD和VSS三种不同的符号,它们有什么区别呢?一、解释VCC:C=circuit 表示电路的...
分类:
其他好文 时间:
2015-06-27 11:33:57
阅读次数:
114
第一章概论问题:软件工程的几种知识领域具体怎样区分呢?回答:知识领域可以分为:1.Software Requirements 2.Software Desing 3.Software Construction 4.Software Testing 5.Software Maintenance ...
分类:
其他好文 时间:
2015-06-27 11:32:14
阅读次数:
117
这是关于多国语言转换的问题,原来的程序是英文版,在中文版里面就有这个问题。因为在Microsoft Windows 下,语言用代 码 页来识 别,不同 语言 用不同代码 页来表示, 如" 简体中文" 用代码页936 表示, 而" 美国英 语" 则 用代码页1252 表 示。其他语言不提了。解决方法:...
分类:
其他好文 时间:
2015-06-27 11:32:54
阅读次数:
505
2001 Open source is bad for business, says Microsoft Linux is a cancer 2005 Enterprise Library 1.0 released! 2006 AJAX ControlToolkitreleased 2007 Mic...
分类:
其他好文 时间:
2015-06-27 11:33:40
阅读次数:
114
1 /* 2 对终端进行读写的程序 3 */ 4 5 #include 6 #include 7 8 char *menu[] = 9 { 10 "a - add new record", 11 "d - delete record", 12 "...
分类:
其他好文 时间:
2015-06-27 11:33:29
阅读次数:
77
Scala数组相关操作&练习1. 1. 编写一段代码,将a设置为一个包含n个随机整数的数组,要求随机数介于0(包含)和n(不包含)之间 def main (args: Array[String]) { createArr(10).foreach(println)}def createArr(n:I....
分类:
其他好文 时间:
2015-06-27 11:31:39
阅读次数:
240
安装显示当前源$gem sources -l国内ruby无法访问,删除https://rubygems.org/源$gem sources --remove https://rubygems.org/添加淘宝ruby源$gem sources -a http://ruby.taobao.rog/更新...
分类:
其他好文 时间:
2015-06-27 11:31:42
阅读次数:
233
题目大意:给出一列取样的几个山的高度点,求山峰有几个?Sample Input291 3 2 4 6 3 2 3 151 2 3 4 5Sample Output30 1 # include 2 # include 3 # include 4 # include 5 # include 6...
分类:
其他好文 时间:
2015-06-27 11:31:15
阅读次数:
99
今天在用keil写程序时 编译出现statement is unreachable 的警告,仔细看了下程序 发现 我在 return 后面写了句代码,statement is unreachable 的意思就是说 执行不到return后面的语句 如 char c;c=1; ...
分类:
其他好文 时间:
2015-06-27 11:30:15
阅读次数:
182
为什么要有三层架构???服务员只需要负责接待客人厨师只需要负责烹饪食物采购员只需要负责采购食材发生在哪一层的变化,只需要更改该层,不需要更改整个系统。层次清晰分工明确,每层之间耦合度低——提高了效率,适应需求变化,可维护性高,可扩展性高。三层架构(3-tier architecture)通常意义上的...
分类:
其他好文 时间:
2015-06-27 11:31:21
阅读次数:
149
阿里CEO张勇华盛顿演讲:商业正迎来新一轮数字革命http://bbs.taobao.com/catalog/thread/508895-317852415.htm?spm=a21bo.7724922.8439-0.3.wS7ho5阿里巴巴开启地球村模式:美欧澳东亚十一国国家馆齐亮相http://b...
分类:
其他好文 时间:
2015-06-27 11:30:21
阅读次数:
108
1. 首先我们来看HeapAlloc:MSDN上的解释为:HeapALloc是从堆上分配一块内存,且分配的内存是不可移动的(即如果没有连续的空间能满足分配的大小,程序不能将其他零散的 空间利用起来,从而导致分配失败),该分配方法是从一指定地址开始分配,而不像GloabalAlloc是从全局堆上分配,...
分类:
其他好文 时间:
2015-06-27 11:29:32
阅读次数:
90
http://tieba.baidu.com/p/comment?tid=3748203305&pid=68075095623&pn=1参数解析:tid:帖子ID,/p/后面的数字http://tieba.baidu.com/p/3748203305pid: 楼层ID, 查看源代码,有类似post_...
分类:
其他好文 时间:
2015-06-27 11:28:11
阅读次数:
164
题目链接 题目要求: Given a linked list, remove thenthnode from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and ...
分类:
其他好文 时间:
2015-06-27 11:26:52
阅读次数:
90
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5154Harry and Magical ComputerDescriptionIn reward of being yearly outstanding magic student, Harry gets...
分类:
其他好文 时间:
2015-06-27 11:26:25
阅读次数:
150