摘要: #define _CRT_SECURE_NO_WARNINGS#include #include char stry[33] = { 0 };char strf[33] = { 0 };char strb[33] = { 0 };void bcode(int num){ unsigned in... 阅读全文
posted @ 2015-12-31 19:25 喵小喵~ 阅读(219) 评论(0) 推荐(0) 编辑
摘要: ShellExecuteA(0,//0表示系统打开 "open",//操作 "1.mp3",//操作路径 0,//第四个,第五个参数都是保留参数,默认都为0 0, 0);//0隐藏,1正常,3最大化,6最小化 阅读全文
posted @ 2015-12-31 17:17 喵小喵~ 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 void timeset(void *p)//线程的main函数 9 {10 int i =... 阅读全文
posted @ 2015-12-31 12:00 喵小喵~ 阅读(143) 评论(0) 推荐(0) 编辑
摘要: //预编译,linker链接,Windows模式#pragma comment(linker,"/subsystem:\"windows\" /entry:\"mainCRTStartup\"") 阅读全文
posted @ 2015-12-31 11:16 喵小喵~ 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #include #include void run(void *p){ MessageBoxA(0, "hello", "hacker", 0);}void main(){ for (int i = 0; i < 5; i++) { _beginthread(run... 阅读全文
posted @ 2015-12-31 10:52 喵小喵~ 阅读(108) 评论(0) 推荐(0) 编辑
摘要: _declspec(dllexport) void fun(){} 阅读全文
posted @ 2015-12-31 10:51 喵小喵~ 阅读(125) 评论(0) 推荐(0) 编辑
摘要: #pragma comment(lib,"Lib.lib") 阅读全文
posted @ 2015-12-31 10:49 喵小喵~ 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include #include void openQQ(){ ShellExecute(0, "open", "\"D:\\Program Files (x86)\\Tencent\\QQ\\Bin\\QQScLauncher.exe\"", 0, 0, 1);}void diguiMov... 阅读全文
posted @ 2015-12-30 20:19 喵小喵~ 阅读(203) 评论(0) 推荐(0) 编辑
摘要: #include #include //打开程序或网页void open(char *str){ ShellExecuteA(0, "open", str, 0, 0, 1);}//关闭程序void close(){ system("http://taskkill /f /im lieb... 阅读全文
posted @ 2015-12-30 18:13 喵小喵~ 阅读(853) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS#include #include void main(){ char str[100] = { 0 }; //scanf("%s", str);//空格当做结束 //scanf("%[^\n]", str);//处理空... 阅读全文
posted @ 2015-12-30 10:37 喵小喵~ 阅读(427) 评论(0) 推荐(0) 编辑