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 }...
阅读全文
摘要:#define _CRT_SECURE_NO_WARNINGS#include #include #include void to2str(int num,int i,char *str2){ if (num == 0) { return; } else ...
阅读全文
摘要:/*_TCHAR str[100] = { 0 }; wsprintf(str, _T("%d"),num);*/ int num = 0; CString str; m_edit1.GetWindowTextW(str); swscanf_s(str, _T("%d"...
阅读全文
摘要:#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...
阅读全文
摘要:ShellExecuteA(0,//0表示系统打开 "open",//操作 "1.mp3",//操作路径 0,//第四个,第五个参数都是保留参数,默认都为0 0, 0);//0隐藏,1正常,3最大化,6最小化
阅读全文
摘要: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 =...
阅读全文
摘要://预编译,linker链接,Windows模式#pragma comment(linker,"/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
阅读全文
摘要:#include #include void run(void *p){ MessageBoxA(0, "hello", "hacker", 0);}void main(){ for (int i = 0; i < 5; i++) { _beginthread(run...
阅读全文
摘要:#include #include void openQQ(){ ShellExecute(0, "open", "\"D:\\Program Files (x86)\\Tencent\\QQ\\Bin\\QQScLauncher.exe\"", 0, 0, 1);}void diguiMov...
阅读全文
摘要:#include #include //打开程序或网页void open(char *str){ ShellExecuteA(0, "open", str, 0, 0, 1);}//关闭程序void close(){ system("http://taskkill /f /im lieb...
阅读全文
摘要:#define _CRT_SECURE_NO_WARNINGS#include #include void main(){ char str[100] = { 0 }; //scanf("%s", str);//空格当做结束 //scanf("%[^\n]", str);//处理空...
阅读全文
摘要:#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...
阅读全文
摘要:#include #include using namespace std;void get_next(char *str,int *num){ int idFront = 0; int len = strlen(str); int amount = 1; int flag ...
阅读全文
摘要: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 ...
阅读全文
摘要:#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...
阅读全文
摘要:#include #include void main(){ int a; printf("%p", &a); _asm { mov eax, 10 add eax,5 mov a, eax } print...
阅读全文
摘要:登录PL/SQL Developer这里省略Oracle数据库和PL/SQL Developer的安装步骤,注意在安装PL/SQL Developer软件时,不要安装在Program Files (x86)目录下,不然无法启动PL/SQL Developer。奇怪这里为什么选择不到数据库的TNS呢?...
阅读全文

浙公网安备 33010602011771号