搜索资源列表
WinRAR-ZIP
- 在C++用递归实现链表逆序 使得倒序输出。-#include <stdio.h> #include <stdlib.h> #include <time.h> const int M=10 typedef int Type typedef struct Node{ Type data struct Node* next }Node void add_elem(Node**head,Type data){ Node
a
- ·· opencv ··· 基础程序中的模块匹配 -[code]#include <cv.h> #include <cxcore.h> #include <highgui.h> #include <stdio.h> int main( int argc, char** argv ) { IplImage*src,*templ,*ftmp[6] //ftmp will hold results int
jvzhenliancheng
- 矩阵连乘 动态规划问题 输出n个矩阵相乘最小的结果-printf number which is the smallest of the N-matrix
printf_-redirect
- STM32的在串口模式下对printf重新定向一个的实例程序,可以参考下,在STM32的IAR开发环境下。-The STM32 redirect printf in the serial mode, one instance of program, you can refer to the STM32 IAR development environment.
myprintf
- 实现变参的printf函数, 通过va_list系列宏实现-Variable argument printf function, by va_list series macro to achieve
time-example
- 1.程序分析: 2.程序源代码: #include "stdio.h" #include "conio.h" #include "time.h" void main() { time_t lt /*define a longint time varible*/ lt=time(NULL) /*system time and date*/ printf(ctime(<)) /*english format output*/ printf(asct
Assemble
- 这是关于基于arm上的AT&T汇编程序, 需要交充叉工具链arm-linux-gcc 去编译,如果编译通不过,请更换版本。-this is a arm embedded paltform assemble for A&T . the programme is example for hello world by call system funtion printf printfs "hello world ". if you have any question please call m
Printf
- 这份代码是在万利的EK-STM32F开放板上验证过的串口程序,用查询方式实现。能够发送和接收。比较好用。- this is com progmmma,used the EK-ST32F.the muc is stm32f103vbt6
Usart
- Sample code for STM32F4XX Discovery for doing printf with CooCox / Code Sourcery. Based on STM Sample code.
avrlib-by-Procyon
- AVR的库C程序源代码,功能包括 Timer(s),Uart(s),A/D Converter,I2C Master/Slave,SPI Interface,Byte Buffering (circular),Bit Buffering (linear),Printf and other formatted print functions,VT100 Terminal Output,Command Line Interface,FAT16/32 File System (support is r
5-2-2
- printf("there are d byte(s) data left without copy\n", file_len) close(from_fd) close(to_fd) exit(0)- printf("there are d byte(s) data left without copy\n", file_len) close(from_fd) close(to_fd) exit(0)
_printf
- printf的格式控制的完整格式,讲得很详细-complete format of printf format control
main1
- 了解I/O系统调用的特点并通过性能测试对此有直观的认识 1、先根据题目生成所需的4kb,256kb,64mb的txt文件 2、根据main函数的int main (int argc, char *argv[])参数特性,可以设计成 : if (4 != argc) { printf ("输入格式错误!\n") exit(0) } 来确定输入参数是4个 /*----------------------------------------
1111
- 二叉树的建立演示,可以将你输入的数字建立完全的二叉树-#include <stdio.h> #include <string.h> #include <windows.h> struct BTree { int data struct BTree* left struct BTree* right } //end struct BTree BTree* CreateLeaf(int number) {
sushu
- 自动判断输入的一个整数是否为素数 并输出 “是素数” “不是素数”-#include<stdio.h> int main() { int i,n,mark=0 printf("请输入一个整数:",n) scanf(" d",&n) for(i=2 i<n/2+1 i++) { if(n i==0) { printf(" d不是素数",n) mark=1 break }
USART_test
- stm32 usart的简单应用 通过printf将串口数据打印到超级终端或其他串口调试工具 适合初学stm32的童鞋学习使用stm32的usart -stm32 usart
M128_USART_printf
- ATMEGA128 USART printf函数打印,附带Proteus7.6仿真,AVR开发环境:AVRStudioV4.13 WINavr20100110-The ATMEGA128 USART printf function printing, incidental Proteus7.6 simulation AVR development environment: AVRStudioV4.13 WINavr20100110
printfk
- 一个类似与printf功能的函数。支持16进制和10进制及字符串打印。-A similar function with the printf function. Support for hex and 10 hex string to print.
DS18B20-printf
- 基于M051的将DS18不0的数据通过串口发送都爱电脑-Love the computer based on the M051' s will DS18 data sent through the serial port
wifi_oui
- printf("如果您的无线路由器MAC地址以“C83A35”或“00B00C”打头,\n") printf("输入后六位MAC地址(不分大小写)您或许可以获得该路由的WPS PIN密钥!\n") -WPS PIN secret printf (" If your wireless router MAC address the" C83A35 " or" 00B00C " starts with \ n" ) printf (&quo