-
二重指针代码
单重指针已经够蛋疼了,c语言中还引入了双重指针,甚至若干重指针。使得这个情况变得更加复杂。虽然以前一直觉得双重指针也不过如此,指针的指针嘛,还不是照样理解,但是上一次重删代码中,因为管理海量数据,引入了大量的指针操作,并且为了函数封装,采用了指针作为参数来传递。因此出现了较多问题
- 2022-02-22 05:57:16下载
- 积分:1
-
八皇后问题c语言实现
void show() /* 输出所有皇后的坐标 */
{
int i;
for(i = 0; i < max; i++)
{
printf("(%d,%d) ", i, queen[i]);
}
printf("
");
sum++;
}
int check(int n) /* 检查当前列能否放置皇后 */
{
int i;
for(i = 0; i < n; i++) /* 检查横排和对角线上是否可以放置皇后 */
{
if(queen[i] == queen[n] || abs(queen[i] - queen[n]) == (n - i))
{
return 1;
}
}
return 0;
}
void put(int n) /* 回溯尝试皇后位置,n为横坐标 */
{
int i;
for(i = 0; i < max; i++)
{
&nbs
- 2022-05-09 12:47:00下载
- 积分:1
-
BinarySortTree
二叉排序树,可以实现插入,删除,查找,创建功能(Binary sort tree,you can achieve the insert,delete,search,create functional)
- 2009-12-03 10:53:04下载
- 积分:1
-
Tractor_Test_FuzzyControl
基于ATMEL单片机的无刷直流电机控制在牵引机上的应用(ATMEL-based brushless DC motor control in the application of traction machine)
- 2010-01-10 10:54:27下载
- 积分:1
-
TCR116133h
该文件能用Visual C++6.0打开编译实现加密解密功能,并能通过少量的修改改(修改处程序源码中已标明)镶嵌到其他的程序源码中实现加密解密功能。 可直接使用。
(The file can use Visual C++6.0 to open compiled encryption and decryption functions through a few modifications reform (modify at program source code has been marked) inlaid into the other program source code to achieve encryption and decryption functions. Can be used directly.)
- 2012-09-15 18:09:59下载
- 积分:1
-
c-danhaojiang-2
C语言程序设计(第二版谭浩强),让大家从c的基础开始学习(C programming language (second edition of Tan Haoqiang), so that we began to learn the basis of C)
- 2015-04-15 22:40:22下载
- 积分:1
-
RTC
使用ISL12022的一个RTC代码 LPC2000系列 (A rtc used ISL12022)
- 2009-03-27 15:24:53下载
- 积分:1
-
Play_Video
基于OpenCV的图片缩放 基于OpenCV的图片缩放(A program based on OpenCV for picture handling)
- 2012-12-31 17:13:57下载
- 积分:1
-
上位机软件
说明: ad9851的单片机程序上位机软件,为广大网友参考(AD9851 program upper computer software, for the majority of netizens reference)
- 2020-06-22 05:40:01下载
- 积分:1
-
核最小均方算法
源代码是《核自适应滤波》 刘伟峰老师编写的,内容是核最小均方算法,可用于自适应滤波,系统辨识方面。
- 2022-08-26 03:35:39下载
- 积分:1