-
随机线条拼图实例源码下载
随机线条拼图实例源码下载
- 2014-06-11下载
- 积分:1
-
基于STM32F103ZET6的NRF24L01无线通信
开机时系统先检测 NRF24L01 模块是否存在,在检测到NRF24L01 模块之后,根据 K_UP 和 K_DOWN 按键来决定模块的工作模式,在设定好工作模式之后,就会开发发送/接收数据,同样用 D1 指示灯来指示程序正在运行。程序运行时先通过 NRF24L01_Check 函数检测 NRF24L01 是否存在,如果存
在,则让用户选择发送模式(K_DOWN)还是接收模式(K_UP),在确定模式之后,设置 NRF24L01 的工作模式,然后执行相应的数据发送/接收处理。在测试的时候一定要注意,两块单片机一个选择发送模式,一个选择接收模式
- 2022-03-17 19:54:20下载
- 积分:1
-
2.4寸彩屏显示渐变颜色彩条
2.4寸彩屏显示渐变颜色彩条,c语言编程实现(2.4 inch color screen display color tapered color strips)
- 2018-05-03 17:55:35下载
- 积分:1
-
swifter-tips.pdf
说明: 一本swift语言知识点集合的书籍,丰富全面。(A book on the set of swift language knowledge points,Rich and comprehensive)
- 2019-03-04 08:40:18下载
- 积分:1
-
AddressBook
对地址薄的初学测试,自己写的,希望对大家有所启发吧(Address book for novice test, write your own, we hope to inspire it)
- 2013-08-10 11:19:49下载
- 积分:1
-
02.DTK-TIMER
dsp5416实验箱,关于定时器的实验源码(dsp5416 experimental box, on the timer Experimental source)
- 2008-04-21 10:31:31下载
- 积分:1
-
netcommunity
说明: Socket是建立网络连接时使用的。在连接成功时,应用程序两端都会产生一个Socket实例,操作这个实例,完成所需的会话。(Socket is used when a network connection. The connection is successful, the application will have a Socket instance ends, the operation of this example, the completion of the required sessions.)
- 2010-04-02 11:29:45下载
- 积分:1
-
c++黑白棋ai游戏源码
说明: 黑白棋的棋盘是一个有8*8方格的棋盘。下棋时将棋下在空格中间,而不是像围棋一样下在交叉点上。开始时在棋盘正中有两白两黑四个棋子交叉放置,黑棋总是先下子。
下子的方法:把自己颜色的棋子放在棋盘的空格上,而当自己放下的棋子在横、竖、斜八个方向内有一个自己的棋子,则被夹在中间的全部翻转会成为自己的棋子。并且,只有在可以翻转棋子的地方才可以下子。(The chessboard of black and white is a chessboard with 8 * 8 squares. When playing chess, the game is played in the middle of the space, not at the intersection like go. At the beginning, there are two white, two black and four pieces in the center of the board. Black chess always comes first.
Sub method: put the pieces of your own color on the space of the board, and when the pieces you put down have one of your own pieces in the horizontal, vertical and oblique directions, all the pieces in the middle will be turned into your own pieces. In addition, only in the place where the chess pieces can be flipped can they be flipped.)
- 2019-12-13 15:47:26下载
- 积分:1
-
LedLight
说明: LED数码管驱动开发例程,基于51单片机,包括pc端程序(LED digital tube Driver Development routines, based on 51 MCU, including the pc-procedures)
- 2006-01-12 12:57:52下载
- 积分:1
-
关于C++中栈指针和堆指针的使用说明
环境:Windows XP S3、VC++ 6.o
目的:学习C++程序开发语言
使用步骤:下载之后,双击.dsw文件即可打开该示例工程
说明:
在学习《Thinking in C++》一书关于数组声明与定义时,Bruce说如果这样声明一个数组:
int b[6] = {0};
Here, the compiler will use the first initializer for the first array
element, and then use zero for all the elements without initializers.(意思是说如果这样声明并且定义一个数组,那么编译器会把0赋给第一个数组元素,其它五个元素会赋值0).于是我使用class声明一个类型Test。在这个类中有一个成员方法叫getArray(),在该方法中使用以上方式声明一个数组,然后返回数组的指针,然后在另一个成员方法showPointerOfArray(int*)接收传过来的int指针,在这个方法操作数组。
但是在运行时没有出现我想要的结果,于是其它的方法中测试这样声明方式,却是运行正确的。于是让我很纳闷?带这个问题与本中心庄鹏飞老师讨论之后,发现原来我没有搞清楚在C++中指针分为栈指针和堆指针。参见int* Test::getArray()方法中关于数组的声明以及本人非常详细的说明,那么我想会给学习C++编程的人员带来收获。
结论:C++不是纯粹的OO语言,这是bruce说的。本人在学习过程中确实感觉C++这种语言比Java难得多。不像Java那么直观易学,这可能也就是为什么世界上所有程序员中有20%左右的人是Java程序员,而不是C++程序员的原因吧。
另外,本人使用QT的g++编译器编译通过了,因为是使用记事本手写的,所以完全是Java的书写风格^_^
把它搞成VC++的工程是为了大家方便学习。。。
学习对象:希望编写效率高于Java应用的程序员。
- 2022-01-26 06:17:06下载
- 积分:1