/* SK-CHINA *//* 模拟人生 *//* 2006.2.20 */
int Play_age=6,Play_month=1,year=2000;int zhli=100,shangcai=100,zhengzhi=100,liliang=100;double money;char Enter_char,Name[10];int fangwu,qiche,shangdian,guanjue,thing;
Player_own() {printf("你的年龄:%d\n你的金钱:%-15.2lf\n你的智力:%d\n你的商才:%d\n你的政治:%d\n你的力量:%d\n你的...
/*SK-CHINA 密码管理器 0.0.1 BY S.K*//*写于2007.2.16 晚上 于家中 */
#include<stdio.h>#include<conio.h>#include<string.h>
/*二进制数据文件结构*/typedef struct { char name[30]; char password[30];} password;
int main(void) { int i; password s[100]; unsigned char num=0; FILE *input,*output;
printf("正在装入数...
完整版:速度较稍慢,但较为友好/*SK-CHINA 阶乘计算器*//*本程序可以准确计算十万以内的阶乘*/ /*结果输出为out.txt*/ #include "stdio.h"long s[500000]={0L}; /*存储数据*/long h=499999L; /*数据位置*/ int cheng(long num) { long t=499999L; while(s[h]==0) h++; if(num>=100000L) h--; if(num>=10000L) h--; if(num>=1000L) h--; if(num>=100L) h...
program SKCP(input,output);{孙锴中国 2005年}{中文编程 V0.5版}label100,1000;
varz:char;
procedure SKBY;
varx,y:char;a,b,c:integer;M,W,N:string;SKfile1,SKfile2,SKfile3:text;
procedure SK3;beginwhile eof(SKfile1)=false dobeginread(SKfile1,x);if (x=';')then beginwriteln(SKfile3); write(SKfile3,x); endelse ...