搜索资源列表
用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
0.0
- 程序说明书 一. 各模块的功能: readtxt(),读读者文件writetxt(),写读者文件addreader(reader s) ,添加读者delreader(int number),删除读者searchreader(int number),查找读者readerdata() ,读者数据管理readbtxt(),读图书文件writebtxt(),写图书文件addbook(libook s),添加图书delbook(int number),删除图书searchbook(int number),
sd2000全系列 51汇编程序
- 本程序用于测试实时时钟模块SD2000系列功能之一:四种中断功能 程序功能如下: 1.在SD2000试验板上显示实时时间的小时和分钟? 2./INT1 到指定时刻时输出低电平. 3./INT2输出固定频率32768HZ. 4.测试每分钟边沿中断输出(INT MODE3)和每分钟固定中断输出(INT MODE4)功能-procedures used to test the real-time clock module SD2000 series of functional one : four i
sf_200562516252
- 一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = ne
cn-Winamp280-Dfx6113
- 本规范中所指定的数据类型如INT,FIXED,VARSTR,FLOAT,DATE,TIME等只是为数据检查设定的;前端系统通过调用时均以字符串方式上送,AG会根据该规范进行必要的类型和长度检查; 除非特别说明,本规范中的规定的字段长度都是最大长度(FIXED类型是定长)。-the norms as specified in the data types such as INT, fixed, VARSTR, FLOAT, DATE, TIME, etc. only to check data s
char2dec 字符类型转化为十进制int类型函数
- 字符类型转化为十进制int类型函数,可以直接调用char2dec函数,输出为整形数int-Into a decimal character type int type function, you can call char2dec function, the output of integer int
float_char_int_string.rar
- 各种基本数据类型转换源程序。 本程序涉及到的数据类型有:float, int , char, string.,A variety of basic data type conversion source. This procedure involves the data types are: float, int, char, string.
wchar_t.rar
- vc中常用数据格式转换,如wchar_t,char*,CString,int等。,vc commonly used data format conversion, such as wchar_t, char*, CString, int, etc..
ew
- for: Root of a Polynomial --- --- --- --- -- Time Limit: 1 Second Memory Limit: 32768 KB -------------------------------------------------------------------------------- A polynomial of degree n has the common form as . Your ta
int79h
- 自定义的INT 79H的中断服务程序设计 该中断服务程序的功能为驻留内存(INT 31H),运行时,使用中断调用(2AH,2CH)读取系统时间,在屏幕上将时间以“年月日 时:分:秒”的形式显示出来, 系统其他功能正常。-Since the definition of the INT 79H interrupt service program design of the interrupt service routine for the presence of memory function
2
- 编写筛选查找素数函数: void sieve(bool isPrime[], int n) 其中isPrime[ ]为一个布尔型数组,n为数组大小。由于2是第一个素数, 所以设置isPrime[0]和isPrime[1]的值为false,并设置其余的元素初值为true。 然后对从4到n-1的每一个i,判断i是否能够被2整除,如果i能够被2整除,则设置isPrime[i]为false。 对从2到n/2的每一个可能的数值重复以上处理,当操作结束时,所有值为true的isPrime
BAS-INT
- 一个最简单的整型BASIC的C语言源码 一个最简BASIC的C语言源码,不提供编辑,通过C编译后,直接在命令行执行 BASIC程序.如 BAS-INT MIN. BAS-One of the most simple integer BASIC C-language source one of the most simple C-language source code BASIC, does not provide editing, compiled by C directly in the
int-to-string
- int to string;int t o string;int t o string;int t o string;int t o string;int t o string;int to string;-int to string;
INT
- INT介绍资料,介绍了经常使用的INT,并附简短示例,帮之大家很好理解INT-INT introduce information on the frequent use of the INT, along with brief examples to help the people a good understanding of INT
int
- 输入一个数字int转换成字符char,程序短小,适合练习!-int to char
Cstring-transition-char-string-int
- Cstring转char、string、int等数据类型的方法,这是我们VC编程经常用到的方法,希望对大家有用!-The transfected char, string, int data type in Cstring. Txt
INT
- INT介绍资料,介绍了经常使用的INT,并附简短示例,帮之大家很好理解INT-INT introduce information on the frequent use of the INT, along with brief examples to help the people a good understanding of INT
add-two-big-int-numbers
- 该程序的功能主要是实现两个大整数(150位以内)的加法。-It can compete one function to add two big int numbers.
Big-Int
- hi this is a usefull code for C++ developer, that in C++ , big int code -hi this is a usefull code for C++ developer, that in C++ , big int code
int-convert-string-by-C-Language
- C语言实现,自定义两个函数,实现int型和字符串String型互换:把字符串转化成double浮点型,把int型转化为String型,在网络通信中用得到,在VC环境下已经验证-by using C Language,define two functions and realize below function:we can convert int to string ,and also string to int ,these fucntion has been tested.