上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: #include #include #include #include #include #include const int H = 8; //地图的高 const int L = 16; //地图的长 char GameMap[8][16]; //游戏地图 int key; //按键保存 int sum = 1, over = 0; //蛇的长度, 游戏结束(自... 阅读全文
posted @ 2017-09-14 09:24 疯陈演义 阅读(380) 评论(0) 推荐(0) 编辑
摘要: malloc方法: 阅读全文
posted @ 2017-09-04 10:39 疯陈演义 阅读(1916) 评论(0) 推荐(0) 编辑
摘要: //文件的读取 这部分是获取命令行参数来读取 int ch; FILE *fp; unsigned long count = 0; if(argc!=2) { printf("没有参数\n"); exit(EXIT_FAILURE); } if((fp=fopen(argv[1],"r"))==NULL... 阅读全文
posted @ 2017-09-01 12:43 疯陈演义 阅读(280) 评论(0) 推荐(0) 编辑
摘要: #include #include #include static unsigned long int next = 1; unsigned int rand0(); void srand1(unsigned int seed); int main() { int count; unsigned int seed; while(scanf("%u",&seed)=... 阅读全文
posted @ 2017-08-31 09:34 疯陈演义 阅读(222) 评论(0) 推荐(0) 编辑
摘要: int main() { char *str = "see you later"; int r = strlen(str); char * p = str; int a= 0; while(*str++!='\0') { if(*str == ' ') { a++; } ... 阅读全文
posted @ 2017-08-19 11:20 疯陈演义 阅读(568) 评论(0) 推荐(0) 编辑
摘要: char * cyp(char *s1,char *s2) { char *p = NULL; char *q = NULL; char *q1 = NULL; while(*s1!='\0') { if(*s1==*s2) { p = s1; q = s1; ... 阅读全文
posted @ 2017-08-15 21:15 疯陈演义 阅读(1971) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-06-29 08:55 疯陈演义 阅读(8) 评论(0) 推荐(0) 编辑
摘要: from tkinter import * import urllib.request from PIL import Image, ImageTk import os,io,threading,time from tkinter import messagebox from win32api import GetSystemMetrics print(GetSystemMetrics(0),... 阅读全文
posted @ 2017-06-21 13:59 疯陈演义 阅读(431) 评论(0) 推荐(0) 编辑
摘要: socket通常也称作”套接字“。网络上的两个程序通过一个双向的通信连接实现数据的交换,这个连接的一端称为一个socket。socket 是网络连接端点。例如当你的Web浏览器请求www.fishc.com上的主页时,你的Web浏览器创建一个socket并命令它去连接 www.fishc.com的W 阅读全文
posted @ 2017-06-10 22:59 疯陈演义 阅读(774) 评论(0) 推荐(0) 编辑
摘要: from tkinter import * import urllib.request import re,os import threading from tkinter import filedialog win=Tk() win.title('海啸投资-股票数据下载') win.geometry('200x120+400+200') win.attributes("-toolwind... 阅读全文
posted @ 2017-06-08 10:45 疯陈演义 阅读(555) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页