对读入一个字节(不带回车)读入一个字符串带回车,发送字符串函数测试成功 由于不清楚keil自带的STDIO.H函数是否是堵塞发送接受,所以本程序使用非堵塞方式发送接受,缺点是占 用一些内存,缓冲区大小可自由配置。
上传时间: 2016-06-27
上传用户:thesk123
简单最短寻道跟电梯算法,用C++编译 #include "STDIO.h" #include "stdlib.h" #include <iostream.h>
上传时间: 2016-08-23
上传用户:cc1015285075
函数分库函数和用户自定义函数两类: 库函数(又称系统函数)是高级语言软家中提供基础功能的函数。库函数文件以h为文件后缀,如C语言的STDIO.h文件包括了printf(), scanf (),open(),close()。C语言中主函数要使用某库函数:#include<库函数文件名>
上传时间: 2014-01-04
上传用户:sy_jiadeyi
#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 graphics define stdlib
上传时间: 2013-12-29
上传用户:王者A
这个是我调通的在2410下运行文件系统的程序. 用2410驱动sd卡来实现fat文件系统. 欢迎大家来测试. 用法很简单, 如下 FILE *fp // 文件指针 unsigned char temp[24]="3.wav" // 文件明需要放在数组里 while(!initialize_media()) // 初始化sd卡 { Uart_Printf("sd initializing....\n") } Uart_Printf("sd ready\n") fp=fopen(temp, READ) // 打开文件就可以用了, 函数和标准c中的一样,所以不能加载STDIO.h if(!fp) { Uart_Printf("open file wrong\n") while(1) } Uart_Printf("open file successed\n")
上传时间: 2013-12-30
上传用户:xlcky
一个在线考试系统,时使用visual STDIO做的
标签:
上传时间: 2013-12-11
上传用户:hjshhyy
encode/decode gsm sms 7bit pdu format text. orginally written for palm os, but it don t make any special system call. plain STDIO is ok
标签: orginally written encode decode
上传时间: 2014-01-25
上传用户:偷心的海盗
一款转换seg数据的软件,可以由visual STDIO编译!
上传时间: 2013-12-19
上传用户:671145514
BP神经网络程序,C语言源代码 如下: #include "iostream.h" #include "iomanip.h" #include "stdlib.h" #include "math.h" #include "STDIO.h" #include "time.h" #include "fstream.h" #define N 120 //学习样本个数 #define IN 3 //输入层神经元数目 #define HN 2 //隐层神经元数目 #define ON 2 //输出层神经元数目 #define Z 20000 //旧权值保存-》每次study的权值都保存下来 double P[IN] //单个样本输入数据 double T[ON] //单个样本教师数据 double U11[IN][HN] //输入层至第一隐层权值 double V[HN][ON] //隐层至输出层权值 double X1[HN] //第一隐层的输入 double Y[ON] //输出层的输入 double H1[HN] //第一隐层的输出 double O[ON] //输出层的输出 double YU_HN1[HN] //第一隐层的阈值 double YU_ON[ON] //输出层的阈值 double err_m[N] //第m个样本的总误差 double a //学习效率 double alpha //动量因子
标签: include iostream iomanip stdlib
上传时间: 2017-06-15
上传用户:xinzhch
#include <avr/io.h> #include <avr/interrupt.h> #include <avr/signal.h> #include <avr/sleep.h> #include <avr/pgmspace.h> #include <string.h> #include <util/delay.h> #include <avr/eeprom.h> #include <STDIO.h> #include "defines.h"
上传时间: 2017-07-31
上传用户:diets