搜索资源列表
用c编写的N*N的螺旋矩阵源代码
- /* 实现效果: 1 2 6 7 15 3 5 8 14 16 4 9 13 17 22 10 12 18 21 23 11 19 20 24 25 */ #include <stdio.h> #define N 5 //阶数,即N*N的螺旋矩阵 void main() { int i, j, num=1, a[N][N]; for(i=0; i<=N/2; i++) &nb
OutputPrint.rar
- 改造了一下OutputDebugString函数,使其用起来就像printf函数一样实现格式化字符串输出,OutputDebugString function, then transform it to use to achieve the same function as printf format string output
single_file_source
- DispHelper允许您调用一个非常简单的printf风格的语法的COM对象。 DispHelper可用于从C + +或即使是普通的C,它与大多数Windows编译器 包括DEV - CPP的Visual C+ +和LCC- WIN32。包括在您的项目DispHelper 不能简单,因为它是在压缩单个文件的版本。-DispHelper allows you to call COM objects with an extremely simple printf style synta
Hanoi
- 一个Hanoi的小游戏 void Hanoi(int n, char x,char y,char z) { if (n==1) { printf("%c %d %c\n",x,n,z) return } Hanoi(n-1,x,z,y) printf("%c %d %c\n",x,n,z) Hanoi(n-1,y,x,z) }-Hanoi in a game void Hanoi (int n, char x, char
shunxu
- //顺序表的建立、查找、插入与删除 #include <stdio.h> #include <malloc.h> #include <stdlib.h> #define ListSize 100 //表最大长度 //结构定义 typedef struct SeqList { int node[ListSize] //存放表结点 int length //当前表长度 } SeqList //插入元素
c
- 经典c程序100例 【程序1】 题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去 掉不满足条件的排列。 2.程序源代码: main() { int i,j,k printf("\n") for(i=1 i<5 i++) /*以下为三重循环*/ for(j=1 j<5 j++) for (
booking_system
- 链表的输出,如何使用链表,让链表中的数据能够正确的输出!-linklist s printf
myTestFunctor
- c++ 的 functor实现,支持c函数和成员函数,使用非常简单,源码带使用例子 包含头函数:#include "Functor.h" 初始化c函数指针 Functor< int, int, int, int, int, int > fun1( &FuncSum ) printf( "fun1: d\n", fun1.Exec( 1, 2, 3, 4, 5 ) ) Functor< int, int, int, int, int, int > f
Printdelay
- 程序不会马上显示你输入的字符,而是延时显示你输入的字符,延时时间可调-SlowPrint, the function this program s about, can be used as a replacement for the standard printf() function. The difference between SlowPrint and printf is SlowPrint doesn t put the information on the screen i
littleprogramforC
- 一些以C語言撰寫的小程式,包括printf函數的實作、字串轉浮點數、浮點數轉字串以及最小擴張樹問題等等。-Some with small programs written in C language, including the printf function of the implementation, string float switch, float switch to the string and the minimum spanning tree problem and so on.
printf-and-scanf
- C或C++中 printf和scanf函数的用法和特点。很实用,也很简单!-C or C++ in the printf and scanf function usage and characteristics. Very practical, very simple!
Printf.tar
- printf client for tinyos
printf-Drive2.0.3
- stm32 printf重定向keil源码-stm32 printf of keil
printf
- 自己写的printf函数,可以学习变参的用法-Write your own printf function, you can learn the usage of variable parameter
scanf-printf
- 用scanf函数输入数据,使a=3, b=7, x=8.5, y=71.82 并用printf函数输出。-Scanf function with input data, so that a = 3, b = 7, x = 8.5, y = 71.82 and output using printf function.
main
- 如何將printf 導向STMF4 UART(example for how to retarget the printf from std lib to UART2 of STMF4)
uxPrintf
- 实现了printf的简单功能,对于单片机开发调试很有帮助!!(Realize the simple function of printf, SCM development and debugging helpful!!)
usart串口
- 在清风的基础上,实现PRINTF的输出(On the basis of clean wind, the output of PRINTF is realized)
keil - printf
- STM32重定位printf,通过proteus仿真(STM32 relocate printf, through proteus simulation)
printf
- 自定义的printf 只需要完成固定的接口函数内容即可 适用于各个平台(Custom printf only needs to complete the fixed interface function content, so it can be applied to all platforms.)