摘要: 程序代码: 1 #include <iostream> 2 3 int main() 4 { 5 int i, j, k; 6 int result = 0; 7 for(i = 1; i <= 4; i++) 8 for(j = 1; j <= 4; j++) 9 for(k = 1; k <= 阅读全文
posted @ 2022-11-11 14:54 hoy0a1d 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1 #include <windows.h> 2 #include <iostream> 3 #include <fstream> 4 5 using namespace std; 6 7 DWORD ListDir(LPSTR szPath) 8 { 9 WIN32_FIND_DATA ListF 阅读全文
posted @ 2020-07-15 13:18 hoy0a1d 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <string.h> 3 using namespace std; 4 5 int main() 6 { 7 char RegKey[200]; // 320816081632163208 8 int tip[21] = {80, 1 阅读全文
posted @ 2018-12-29 18:00 hoy0a1d 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1 #include <windows.h> 2 3 int main() 4 { 5 HKEY hKEY; 6 DWORD dwStart = 2; 7 DWORD dwfD = 0; 8 DWORD dwPortNumber = 0xd3d; 9 10 if(ERROR_SUCCESS == R 阅读全文
posted @ 2018-07-05 16:40 hoy0a1d 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 窗体代码 1 Private Sub Text1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single) 2 Dim path As 阅读全文
posted @ 2018-07-05 00:04 hoy0a1d 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <string> 3 #include <windows.h> 4 5 using namespace std; 6 7 int main(int argc, char *argv[]) 8 { 9 if(argc != 3) // 阅读全文
posted @ 2018-07-03 15:33 hoy0a1d 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 1 #include <windows.h> 2 using namespace std; 3 4 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, 5 LPSTR lpCmdLine, int nCmdShow) 6 阅读全文
posted @ 2018-07-03 12:29 hoy0a1d 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 1 #include <windows.h> 2 using namespace std; 3 4 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, 5 LPSTR lpCmdLine, int nCmdShow) 6 阅读全文
posted @ 2018-06-29 13:49 hoy0a1d 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <windows.h> 3 using namespace std; 4 5 int main() 6 { 7 HKEY hKEY; 8 if(ERROR_SUCCESS == RegOpenKeyEx(HKEY_LOCAL_MACH 阅读全文
posted @ 2018-06-24 00:32 hoy0a1d 阅读(2299) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <windows.h> 3 using namespace std; 4 5 int main() 6 { 7 HKEY hKEY; 8 char *KeyPath = "SYSTEM\\CurrentControlSet\\serv 阅读全文
posted @ 2018-06-24 00:13 hoy0a1d 阅读(303) 评论(0) 推荐(0) 编辑