- Enough of the preliminaries. By now, you probably feel as if you asked for the time and got an expl...
- In a single-tasking environment such as MS-DOS, the name of the game when it comes to screen output...
- If you've been around PCs for a while, you probably remember what graphics programming was like bef...
- It's time to build your first MFC application. And what better place to start than with one that di...
- MFC is the C++ class library Microsoft provides to place an object-oriented wrapper around the Wind...
- Programs written for traditional operating environments use a procedural programming model in which...
- A few short years ago, the person learning to program Microsoft Windows for the first time had a li...
- Like many of my colleagues in this industry, I learned Windows programming from Charles Petzold's P...
- The production of this book required the efforts of many people, but two in particular deserve to b...
- 在一个文件中定义的变量和函数如何能被其他文件使用,不会出现多重定义和未定义的编译错误,这要使用好头文件和关键字extern。大家都知道extern是声明外部变量的时候使用的,而函数声明默认就是exte...
- CCS建立一个完整的工程,至少需要以下4个文件:存储器分配cmd文件、C语言系统库rts2xx.lib、包含main函数的c源文件、矢量跳转表asm汇编文件。(1)cmd命令文件是用来分配存储空间的。...
- nop指令的作用是什么,我就想起来一条,就是通过nop指令的填充(nop指令一个字节),使指令按字对齐,从而减少取指令时的内存访问次数。(一般用来内存地址偶数对齐,比如有一条指令,占3字节,这时候使用...
- 第2章DSP芯片的基本结构和特征2.1引 言可编程DSP芯片是一种具有特殊结构的微处理器,为了达到快速进行数字信号处理的目的,DSP芯片一般都具有程序和数据分开的总线结构、流水线操作功能、单周期完成乘...
- void *calloc(size_t nobj, size_t size);calloc函数为由nobj个长度为size的对象组成的数组分配内存,并返回指向分配区域的指针;若无法满足要求,则返回NU...
- 线性结构有:线性表、栈和队列、串。线性结构的特点:存在惟一的第一个数据元素存在惟一的最后一个数据元素除第一个元素外,其他的元素只有一个前驱除最后一个元素外,其他的元素只有一个后继2.1 线性表的类型定...
- 1、不要“玩 Linux”很多人用 Linux 的时候会感觉很迷茫,该用哪个发行呢?是不是我少装了什么?怎么升级这么快啊!怎么这么不稳定!每当遇到新的软件他就想试用,每当新的版...
- 类型是所有程序的基础。类型告诉我们数据代表什么意思以及可以对数据执行哪些操作。 C++ 语言定义了几种基本类型:字符型、整型、浮点型等。C++ 还提供了可用于自定义数据类型的机制,标准库正是利用这些机...
- 我们先来看一个问题设{n}{1,2,3,4,5,6,7,8,9} 我们可以每次将它输出,1,2,3,4,5,6,7,8,9 也可以第一次输出1,第二次在第一次的基础上再输出1, 一直如此下去后者就是所...
- 当执行机构需要的不是控制量的绝对值,而是控制量的增量(例如去驱动步进电动机)时,需要用PID的“增量算法”。 增量式PID控制算法C51程序










