摘要: #include //WINBASEAPI//BOOL//WINAPI//CreateProcessW(//_In_opt_ LPCWSTR lpApplicationName,//执行程序名称//_Inout_opt_ LPWSTR lpCommandLine,//命令行//_In_opt_ LP... 阅读全文
posted @ 2016-01-02 22:47 喵小喵~ 阅读(221) 评论(0) 推荐(0)
摘要: #include #include #include #include "detours.h"#pragma comment(lib,"detours.lib")//包含库文件int (*poldsystem)(const char * _Command) = system;int newsyste... 阅读全文
posted @ 2016-01-02 16:36 喵小喵~ 阅读(587) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 int a[10][10] = { 0 }; 8 9 void show(int a[][10]) 10 { 11 c... 阅读全文
posted @ 2016-01-02 13:24 喵小喵~ 阅读(142) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS#include #include #include #include char strpath[256] = "E:\\杂乱test\\kaifang.txt";char savepath[256] = { 0 };void showl... 阅读全文
posted @ 2016-01-02 11:46 喵小喵~ 阅读(221) 评论(0) 推荐(0)
摘要: typedef unsigned long int NUM;#include using namespace std;NUM x;cout << typeid(x).name();//输出x的类型 阅读全文
posted @ 2016-01-01 23:43 喵小喵~ 阅读(235) 评论(0) 推荐(0)
摘要: int add(int a, int b){int wei = 0;int jinwei = 0;do{wei = a^b;//处理位加法jinwei = (a&b) << 1;a = wei;b = jinwei;} while (b != 0);return a;}两个数相加=两个数亦或(相当于... 阅读全文
posted @ 2016-01-01 23:35 喵小喵~ 阅读(228) 评论(0) 推荐(0)
摘要: 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 喵小喵~ 阅读(255) 评论(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)