没用字符串函数,采用递归
#include <stdio.h>
include <string.h>
include <windows.h>
/**
判断输入的字符或中文字符是不是回文,如:你是谁是你,你是谁谁是你,abccba,abcba,a你好好你a
*@str:字符数组
*@i:数组下标
*@flag:返回判断,为1是回文,为0不是
*@n:字符总字节数
*/
void checkcn(char str,int i,int...
ege库的小源码,小球随机运动与画的任意直线碰撞后反弹,程序运行需导入ege库
ege库下载地址:http://down.bccn.net/7190.html
将graphics.h、ege.h、相关开发工具对应的lib文件与源码放入同一目录即可
代码:
#include <graphics.h>
include ...
;***************************************
; 程序功能:读取CMOS时间并显示
; CMOS读写方法如下:
; 1.向地址端口70H写入要访问的单元地址 &nbsp...