12 2015 档案

摘要:int num = 0; CString str; m_edit1.GetWindowTextW(str); swscanf_s(str, _T("%d"), &num); _TCHAR str2[32] = { 0 }; _TCHAR str8[32] = { 0 }... 阅读全文
posted @ 2015-12-31 21:00 喵小喵~ 阅读(254) 评论(0) 推荐(0)
摘要:#define _CRT_SECURE_NO_WARNINGS#include #include #include void to2str(int num,int i,char *str2){ if (num == 0) { return; } else ... 阅读全文
posted @ 2015-12-31 20:38 喵小喵~ 阅读(207) 评论(0) 推荐(0)
摘要:无 阅读全文
posted @ 2015-12-31 20:10 喵小喵~ 阅读(1682) 评论(0) 推荐(0)
摘要:/*_TCHAR str[100] = { 0 }; wsprintf(str, _T("%d"),num);*/ int num = 0; CString str; m_edit1.GetWindowTextW(str); swscanf_s(str, _T("%d"... 阅读全文
posted @ 2015-12-31 19:46 喵小喵~ 阅读(4992) 评论(0) 推荐(0)
摘要:#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 喵小喵~ 阅读(228) 评论(0) 推荐(0)
摘要:ShellExecuteA(0,//0表示系统打开 "open",//操作 "1.mp3",//操作路径 0,//第四个,第五个参数都是保留参数,默认都为0 0, 0);//0隐藏,1正常,3最大化,6最小化 阅读全文
posted @ 2015-12-31 17:17 喵小喵~ 阅读(480) 评论(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 喵小喵~ 阅读(150) 评论(0) 推荐(0)
摘要://预编译,linker链接,Windows模式#pragma comment(linker,"/subsystem:\"windows\" /entry:\"mainCRTStartup\"") 阅读全文
posted @ 2015-12-31 11:16 喵小喵~ 阅读(146) 评论(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 喵小喵~ 阅读(112) 评论(0) 推荐(0)
摘要:_declspec(dllexport) void fun(){} 阅读全文
posted @ 2015-12-31 10:51 喵小喵~ 阅读(131) 评论(0) 推荐(0)
摘要:#pragma comment(lib,"Lib.lib") 阅读全文
posted @ 2015-12-31 10:49 喵小喵~ 阅读(109) 评论(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 喵小喵~ 阅读(209) 评论(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 喵小喵~ 阅读(871) 评论(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 喵小喵~ 阅读(439) 评论(0) 推荐(0)
摘要:#define _CRT_SECURE_NO_WARNINGS#include #include void main(){ int num; scanf("%d", &num); char res[30] = { 0 }; _itoa(num, res, 16); printf("\n%s", re... 阅读全文
posted @ 2015-12-29 22:08 喵小喵~ 阅读(229) 评论(0) 推荐(0)
摘要:#include #include using namespace std;void get_next(char *str,int *num){ int idFront = 0; int len = strlen(str); int amount = 1; int flag ... 阅读全文
posted @ 2015-12-18 00:20 喵小喵~ 阅读(312) 评论(0) 推荐(0)
摘要:1 #include 2 using namespace std; 3 4 #define N 8 5 6 int a[N][N] = { 0 }; 7 8 bool judge(int a[][N],int b,int c)//b行 c列 9 { 10 11 ... 阅读全文
posted @ 2015-12-10 12:39 喵小喵~ 阅读(154) 评论(0) 推荐(0)
摘要:#include #include using namespace std;#define N 6int a[N][N] = { 0 };bool judge(int a[][N], int b, int c, int dir){ if (dir == 0) { if (b... 阅读全文
posted @ 2015-12-10 12:38 喵小喵~ 阅读(292) 评论(0) 推荐(0)
摘要:#include #include void main(){ int a; printf("%p", &a); _asm { mov eax, 10 add eax,5 mov a, eax } print... 阅读全文
posted @ 2015-12-09 11:00 喵小喵~ 阅读(214) 评论(0) 推荐(0)
摘要:sid为所创建数据库的名字 阅读全文
posted @ 2015-12-06 10:59 喵小喵~ 阅读(129) 评论(0) 推荐(0)
摘要:登录PL/SQL Developer这里省略Oracle数据库和PL/SQL Developer的安装步骤,注意在安装PL/SQL Developer软件时,不要安装在Program Files (x86)目录下,不然无法启动PL/SQL Developer。奇怪这里为什么选择不到数据库的TNS呢?... 阅读全文
posted @ 2015-12-05 20:43 喵小喵~ 阅读(1889) 评论(0) 推荐(1)