【题目】
Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees, factories and...
分类:
其他好文 时间:
2014-05-22 13:09:50
阅读次数:
247
1.把C++当成一门新的语言学习(和C没啥关系!真的。);
2.看《Thinking In C++》,不要看《C++变成死相》;
3.看《The C++ Programming Language》和《Inside The C++ Object Model》,不要因为他们很难而我们自己是初学者所以就不看;
4.不要被VC、BCB、BC、MC、TC等词汇所迷惑——他们都是集成开发环境,而我们要学...
分类:
编程语言 时间:
2014-05-22 09:45:21
阅读次数:
287
《对话LinusTorvalds:大多黑客甚至连指针都未理解》http://www.csdn.net/article/2013-01-10/2813559-two-star-programming“不懂指针”的开发者代码示例:
1 typedef struct node 2 { 3 ...
分类:
其他好文 时间:
2014-05-22 04:40:17
阅读次数:
245
Dynamic programming and meta-programming to
calculate Fib arrays.
分类:
其他好文 时间:
2014-05-22 01:42:39
阅读次数:
341
http://blog.hesey.net/2010/12/significance-and-implementation-of-polymorphism.html在面向对象编程(Object-Oriented
Programming, OOP)中,多态机制无疑是其最具特色的功能,甚至可以说,不运用...
分类:
其他好文 时间:
2014-05-22 00:41:10
阅读次数:
277
1. 进程是unix系统中两个最重要的基础抽象之一(另一个是文件)A process is a
running programA thread is the unit of activity inside of a processthe
virtualization of memory is ass...
分类:
系统相关 时间:
2014-05-20 12:33:05
阅读次数:
407
注册成为开发者“App Distribution Guide”中的“Managing
Accounts”会教你如何成注册苹果开发者。学会设计漂亮的应用界面“iOS Human Interface
Guidelines”教你如何设计出遵循iOS用户界面惯例的应用。学习语言“Programming wi...
分类:
其他好文 时间:
2014-05-19 19:25:03
阅读次数:
306
什么是AOP? (以下内容来自百度百科) 面向切面编程(也叫面向方面编程):Aspect
Oriented
Programming(AOP),通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术。是软件开发中的一个热点,也是Spring框架中的一个重要内容。利用AOP可以对业务逻辑的各个部...
分类:
编程语言 时间:
2014-05-19 17:37:38
阅读次数:
523
引用:http://www.easyx.cn/skills/View.aspx?id=6本文讲解怎样将 mp3 等音乐资源以资源形式嵌入 exe 文件中,并通过
mciSendString 调用。嵌入 mp3 和嵌入图片略有不同,将图片嵌入到 exe 中,以及访问嵌入 exe 中的图片,请参考:ht...
分类:
其他好文 时间:
2014-05-19 12:52:03
阅读次数:
317
C语言实现多态的原理:函数指针
何为函数指针?答案:C Programming Language. 可以查阅下,从原理上来讲,就是一个内存地址,跳过去执行对应的代码段。
既然如此,在运行时决定跳到哪个地方去执行特定的代码即可。
一个简单的版本:
以音频解码器作为例子:AAC 解码器,Mpeg解码器,以及其他类型的解码器。
那手动的多态可能会这样实现:
U32 audioHandle...
分类:
其他好文 时间:
2014-05-18 14:27:14
阅读次数:
309