搜索资源列表
tony
- 指定一個數字轉換回十進位,八進位,十六進位#include <stdio.h> #include <stdlib.h> int main(void) { int number =89 printf("數字 %d\n",number) /* %d 為十進位輸出格式*/ printf("八進位為 %o\n",number) /* %o 為八進位輸出格式*/ prin
prim
- 二叉树中的prim最小生成树算法。编译环境:vistual stdio 2008-Binary tree in the minimum spanning tree algorithm prim. Compiler environment: vistual stdio 2008
normaldistribution
- #include <stdlib.h> #include <stdio.h> #include <time.h> #include <fstream> #include <iostream> using namespace std struct Code { float a char s }
framebuffer
- 帧缓冲#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <
yy
- 求用分支限界算法解决旅行商问题的源程序,#include <stdio.h> #include <stdlib.h> #include <math.h> #define TRUE (1) #define FALSE (0) #define MAX_CITIES (10) #define INFINITY (999) #define I INFINITY -S
shunxu
- //顺序表的建立、查找、插入与删除 #include <stdio.h> #include <malloc.h> #include <stdlib.h> #define ListSize 100 //表最大长度 //结构定义 typedef struct SeqList { int node[ListSize] //存放表结点 int length //当
Datastructsaa
- #include <stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2 typedef int status typedef struct LinkList{ //用带表头结点的有序链表表示多项式 float coef //系数 int expn //指数 st
wenzhouxueyuan
- #include <stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2 typedef int status typedef struct LinkList{ //用带表头结点的有序链表表示多项式 float coef //系数 int expn //指数 st
MingXing(p139)
- 一个关于xml文件与treeview 控件绑定的代码!实用visual stdio 2008 开发的哦1-Xml file with a TreeView control to bind the code! Practical development of visual stdio 2008 Oh 1
chaoshiguanli
- #include<stdlib.h> #include "dos.h" #include "graphics.h" #include "math.h" #define PI 3.1415926 #define NULL 0 #include<stdio.h> #include<string.h> -# Include <stdlib.h># Include
112
- :#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],int *(k1),int *(k2))//0:直接插入排序{ int i,j int temp *(k1)=0 *(k2)=0 for(i=0 i<149 i++) { temp=a[i+1] *(k2)++ ... -:# Inc
MyClock
- 用C#语言和面向对象编程思想,开发的一个时钟仿真程序-This is a Windows Apllication Program,Under the Visual stdio 2005
MyADODatabase
- 用Visual Stdio 2005开发环境,VC#语言开发的一个学生信息管理系统,具有记录的编辑,查找和排序功能-This is a database windows application Programm
2410-fs-ldqmoon
- 这个是我调通的在2410下运行文件系统的程序. 用2410驱动sd卡来实现fat文件系统. 欢迎大家来测试. 用法很简单, 如下 FILE *fp // 文件指针 unsigned char temp[24]="3.wav" // 文件明需要放在数组里 while(!initialize_media()) // 初始化sd卡 { Uart_Printf("sd initializin
OnlineExaminationSystem
- 一个在线考试系统,时使用visual stdio做的-An online examination system, make use of visual stdio
lpc_2129_adc_stdio_20070313
- LPC2119 Demo - stdio with newlib and analog to digital conversion-LPC2119 Demo- stdio with newlib and analog to digital conversion
Unix
- 两个字符串连接程序 进程管理的四个设计 概要 -两个字符串连接程序 #include "stdio.h" main() {char a[]="acegikm" char b[]="bdfhjlnpq" char c[80],*p int i=0,j=0,k=0 while(a[i]!= \0 &&b[j]!= \0 ) {if (a[i] { c[k]=a[i] i++ } else
2008513183626
- 二叉树算法集 文章整理: www.diybl.com 文章来源: 网络 去论坛 建我的blog #include<stdlib.h> #include<stdio.h> #define MAX 50 #define MAS 20 #define CHAR 1 #if CHAR typedef char TElemType TElemType Nil=
yueshefuhuanwenti
- 设计求解约瑟夫环问题的出列顺序。具体的要求和说明如下: (1)利用单向循环链表存储结构模拟此过程,按照出列的顺序输出个人的编号。 (2)m的初值为20;n=7,7个人的密码依次为:3,1,7,2,4,8,4,首先m的值为6(正确的出列顺序应为:6,1,4,7,2,3,5)。 (3)程序运行后,首先要求用户指定初始报数的上限值,然后读取个人的密码。可设n<=30,此题所用的循环链表中不需要“头结点”,请注意空表和非
serial
- include <stdio.h> /*标准输入输出定义*/ #include <stdlib.h> /*标准函数库定义*/ #include <unistd.h> /*Unix标准函数定义*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> /*