06 2013 档案
摘要:1 /*************************** 2 * 3 * 程序名称 : 模拟正弦波 4 * 作 者 : doodle777 5 * 版 本 : 1.1 6 * 日 期 : 2012-10-19 7 * 说 明 : 1.1--解决了闪屏问题 8 * 9 ***************************/ 10 11 #include 12 #include 13 14 #define NUM 1000 15 #define PI 3.14159 16 17 LRESULT CALLBACK...
阅读全文
摘要:Linux下玩国服LOL,国服哦。网络上随处都可以搜到wine美服LOL的教程,但腾讯运营的国服客户端跟美服原版相差比较大,按照美服的方式不能搞起国服LOL,由于宿舍文化,这几天我专注于wine一个国服LOL,对照winehq网站上的LOL相关的bug列表和美服的配置方法,试了各种patch,最后得...
阅读全文
摘要:1 #include 2 #include 3 4 #define NUM 1000 5 #define PI 3.14159 6 7 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM) ; 8 void Draw(HWND) ; 9 10 static int cxClient, cyClient, xOffset, yOffset; 11 POINT apt[NUM] ; 12 static int A = 100 ; 13 14 int WINAPI WinMain(HINSTA...
阅读全文
摘要:1 #include 2 #include 3 #include 4 5 #define EVEN_DOUBLE_4 4 //双偶的最基本类型,4阶双偶 6 #define SCREEN_SIZE 19 //屏幕显示不变形的最大尺寸(主要是因为窗口大小限制) 7 #define MIN_SIZE 3 //最小阶数为3 8 #define MAX_SIZE 30 9 /*原则上是任意阶,算法是相同的,这里就以30为上限吧, 10 当然如果你愿意,可以修改的更大一些*/ 11 12 #define PRINT printf("Esc退出,Enter...
阅读全文
摘要:需要字模文件:ASC16 HZK16 放于上层根目录内(自己去下载。。。)字模文件:http://pan.baidu.com/netdisk/extractpublic?uk=656364533 1 /********************************* 2 * 程序名称:doodle777 的取字模程序 3 * 作 者:doodle777 4 * 邮 箱:duanxu@outlook.com 5 * 版 本 号:1.0 6 * 完成时间:2012-08-30-PM 7 * 说 明:需要字模文件:ASC16 HZK16 放于上层根目录内...
阅读全文
摘要:1 /******************************************** 2 * 程序名称:MR.DUAN 的打砖块(KILL THE BLOCKS !) 3 * 作 者:WindAutumn 4 * 最后修改:2012-8-11-PM 5 * 版 本 号:1.0 6 * 7 *// 好像有个BUG。。。间歇性发作,可能是编译器问题吧,不管了。。。 8 * 9 * *****************************************/ 10 11 #include 12 #include 13 #include 14...
阅读全文
摘要:效果图:(其实还可以再美观一点 o(∩_∩)o 。。。) 1 /******************************************** 2 * 程序名称:MR.DUAN 的模拟时钟 3 * 作 者:WindAutumn 4 * 最后修改:2012-8-9-PM 5 * 版 本 号:1.0 6 * 7 * 以后有空再修改 8 * *****************************************/ 9 10 #include 11 #include 12 #include 13 #include 14 15 #define...
阅读全文
摘要:1 /******************************************** 2 * 程序名称:MR.DUAN 的数字时钟 3 * 作 者:WindAutumn 4 * 最后修改:2012-7-25-PM 5 * 版 本 号:1.0 6 * 7 * //仅显示时钟 8 * 9 * 以后有空再修改 10 * *****************************************/ 11 12 #include 13 #include 14 #include 15 16 #define X_OFFSET 5 17 #d...
阅读全文
摘要:1 /******************************************** 2 * 程序名称:MR.DUAN 的贪吃蛇游戏(链表法) 3 * 作 者:WindAutumn 4 * 最后修改:2012-7-25-PM 5 * 版 本 号:1.3 6 * 7 * 8 * 以后有空再修改 9 * *****************************************/ 10 11 #include 12 #include 13 #include 14 #include 15 16 #define MAXWIDE 80 17 ...
阅读全文
摘要:1 /******************************************** 2 * 程序名称:控制台点灯游戏 3 * 作 者:WindAutumn 4 * 最后修改:2012-7-20 5 * 版 本 号:1.0 6 * *****************************************/ 7 8 #include 9 #include 10 #include 11 12 #define X_PIANYI 4 13 #define Y_PIANYI 2 14 typedef struct 15 { 16 int ...
阅读全文
摘要:1 #include 2 #include 3 #include 4 5 typedef struct 6 { 7 int x; 8 int y; 9 }CursorPos; 10 11 int Max_X = 0; // 画布行大小,为清屏做准备 12 int Max_Y = 0; // 画布列大小,为清屏做准备 13 14 void HideCursor(HANDLE hOutput); 15 void GotoXy(HANDLE hOutput, i...
阅读全文
摘要:1 /* dualview.c -- bit fields and bitwise operators */ 2 #include 3 /* BIT-FIELD CONSTANTS */ 4 /* opaque and show */ 5 #define YES 1 6 #define NO 0 7 /* line styles */ 8 #define SOLID 0 9 #define DOTTED 1 10 #define DASHED 2 11 /* primary colors */ 12 #define BLUE 4 ...
阅读全文
摘要:#include#includeint week(int year, int month);void print(int year, int month);void main(){ int year,month; do { printf("enter year,month (EOF for exit): "); if(scanf("%d%d",&year,&month)==EOF) break; print(year,month); }while(1); system("pause");}int week(int ye
阅读全文
摘要:1 /* 1、预处理命令及函数变量 */ 2 3 #include 4 #include 5 #include 6 #include 7 #include 8 #define MAX 100 9 10 typedef struct custstock { //用户账户数据 11 char StockCode[6]; //股票代码 12 char StockName[30]; //股票名称 13 long StockVal; //...
阅读全文
摘要:1 #include 2 #include 3 #include 4 5 typedef struct student { 6 int number; 7 char name[20]; 8 char faculty[50]; 9 char classes[20]; 10 struct student * link; 11 }STU; 12 13 STU * CreateLink(); 14 void WriteLink(STU *); 15 16 void input(); 17 void del(); 18 void del...
阅读全文

浙公网安备 33010602011771号