摘要: #include "stdafx.h" #include "iostream" using namespace std; #include "string" char a[26]={'d','l','r','y','v','o','h','e','z','x','w','p','t','b','g' 阅读全文
posted @ 2020-03-23 08:00 Butcher512 阅读(141) 评论(0) 推荐(0)
摘要: #include "stdafx.h" #include "windows.h" #include "iostream.h" void env() { PROCESS_INFORMATION pi={0}; STARTUPINFO si={0}; si.cb=sizeof(si); CreatePr 阅读全文
posted @ 2020-03-23 07:59 Butcher512 阅读(266) 评论(0) 推荐(0)
摘要: // dll.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include "iostream.h" _declspec(dllexport) int add(int a,int b) { 阅读全文
posted @ 2020-03-23 07:57 Butcher512 阅读(156) 评论(0) 推荐(0)
摘要: #include "stdafx.h" #include "iostream" using namespace std; #include "string" void func1(string &s1,int x) { for(int i=0;i<s1.size();i++) s1[i]=(s1[i 阅读全文
posted @ 2020-03-23 07:55 Butcher512 阅读(136) 评论(0) 推荐(0)
摘要: // 2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "windows.h" #include "iostream.h" #include "stdlib.h" 阅读全文
posted @ 2020-03-23 07:53 Butcher512 阅读(205) 评论(0) 推荐(0)
摘要: Windows 提供了GetVersionEx 函数来返回当前操作系统的版本信息 #include "stdafx.h" #include "windows.h" #include "iostream.h" int main(int argc, char* argv[]) { OSVERSIONIN 阅读全文
posted @ 2020-03-23 07:52 Butcher512 阅读(272) 评论(0) 推荐(0)
摘要: #include "windows.h" #include "resource.h" LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; HMENU hm; int WINAPI WinMain (HINSTANCE hInstance, 阅读全文
posted @ 2020-03-23 07:47 Butcher512 阅读(264) 评论(0) 推荐(0)
摘要: #include <windows.h> LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); VOID CALLBACK fun(PVOID lp); int WINAPI WinMain (HINSTANCE hInstance, HINS 阅读全文
posted @ 2020-03-23 07:46 Butcher512 阅读(128) 评论(0) 推荐(0)