08 2014 档案

摘要:对于这次的找茬类游戏的制作我感受很深,虽然以前没有接触过这类东西,但是在自己的用心制造下,还是顺利的实现出了其主要的功能,虽然页面不是很精美,我相信我会在以后的学习当中更好的完善自己。 阅读全文
posted @ 2014-08-30 20:56 孤夜 阅读(209) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-08-25 20:38 孤夜 阅读(153) 评论(0) 推荐(0)
摘要:#include void main(){ int a[4]={17,82,-4,55},b[5]={34,11,66,56,76},c[9],i,j,n,temp; printf("原来的第一个数组是:\n"); for(i=0;i<4;i++) { printf("%d\n",a[i]); ... 阅读全文
posted @ 2014-08-25 20:35 孤夜 阅读(265) 评论(0) 推荐(0)
摘要:#includevoid main() { int array[]={2,5,6,11,15,17,22,34,45}; int j=0,tmp=0,m=0; printf("请输入任意一个正整数:"); scanf("%d",&array[10]); fo... 阅读全文
posted @ 2014-08-25 20:34 孤夜 阅读(179) 评论(0) 推荐(0)
摘要:#include void main(){ int a[9]={2,5,6,11,15,17,22,34,35},b[10]={0,2,5,6,11,15,17,22,34,35},x,i,j,temp; printf("请输入一个整数:"); scanf("%d",&x); b[0... 阅读全文
posted @ 2014-08-25 20:32 孤夜 阅读(127) 评论(0) 推荐(0)
摘要:#include #include void main(){ char inputStr[100]; char newStr[100] = {0}; int i = 0,j = 0; printf("请输入一个字符串:"); scanf("%s",inputStr); for(i = 0; i ... 阅读全文
posted @ 2014-08-25 20:30 孤夜 阅读(325) 评论(0) 推荐(0)
摘要:#include #include void main(){ char str[] = "asdfjvjadsffvaadfkfasaffdsasdffadsafafsafdadsfaafa"; int i = 0,num = 0; for(i = 0; i < strlen(str) - 1; i... 阅读全文
posted @ 2014-08-25 20:29 孤夜 阅读(157) 评论(0) 推荐(0)
摘要:#includevoid main(){int i=0,j=0,many=100000,many1=100000,num,num1,num2,num4=0,s=0,s1=0;int a=123; int b; printf(" "); for(i;ia) { ... 阅读全文
posted @ 2014-08-25 20:28 孤夜 阅读(222) 评论(0) 推荐(0)
摘要:#include int strlen(char array[])//定义函数strlen; { int i = 0; while(array[i] != '\0') { i++; } return i;}void main(){ char input[100... 阅读全文
posted @ 2014-08-25 20:27 孤夜 阅读(175) 评论(0) 推荐(0)
摘要:#include #include int strcmp1(char array1[],char array2[]) //定义函数 { int i = 0; while(array1[i] != '\0' && array2[i] != '\0') //对输入的两个数组进行比较 ,得出返回值; ... 阅读全文
posted @ 2014-08-25 20:26 孤夜 阅读(385) 评论(0) 推荐(0)
摘要:#includeint accept(int array[] ) { printf("请输入一个不超过五位数的数组:"); scanf("%s",array); } int sort(int array[]) { int i,tmp,j; for(i = 0; i ... 阅读全文
posted @ 2014-08-25 20:25 孤夜 阅读(104) 评论(0) 推荐(0)
摘要:#include void main(){ int i,j,n,s=0; for(i=1;i<=20;i+=3) { j=0; for(i=4;i<=20;i++) { s+=1; } for(i=7;i<=20;i++) { ... 阅读全文
posted @ 2014-08-25 20:24 孤夜 阅读(138) 评论(0) 推荐(0)
摘要:#includevoid main() { char c[]={0}; char d[]={0}; int i,k,j=0; printf("请输入任意的字符串:"); scanf("%s",c) ; k=strlen(c); for(i=0;... 阅读全文
posted @ 2014-08-25 20:23 孤夜 阅读(3339) 评论(0) 推荐(0)