摘要: 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)
摘要: // ConsoleApplication10.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include"iostream" using namespace std; #define MAX 100 typedef struct { char str[ 阅读全文
posted @ 2019-12-31 10:47 Butcher512 阅读(327) 评论(0) 推荐(0)
摘要: // ConsoleApplication9.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include"iostream" using namespace std; typedef int data; typedef struct link_node 阅读全文
posted @ 2019-12-21 21:54 Butcher512 阅读(273) 评论(0) 推荐(0)
摘要: 1 // ConsoleApplication1.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include"iostream" 6 using namespace std; 7 8 typedef int data; 9 10 type 阅读全文
posted @ 2019-12-10 22:35 Butcher512 阅读(123) 评论(0) 推荐(0)
摘要: 单队列: // ConsoleApplication17.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include"iostream" using namespace std; #define MAX 1000 typedef int data; ty 阅读全文
posted @ 2019-12-07 14:13 Butcher512 阅读(234) 评论(0) 推荐(0)
摘要: // ConsoleApplication14.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include"stdlib.h" #include"iostream" using namespace std; #define MAX 100 typedef 阅读全文
posted @ 2019-12-07 13:34 Butcher512 阅读(284) 评论(0) 推荐(0)
摘要: 冒泡排序 1 // ConsoleApplication15.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include"stdlib.h" 6 7 #include"iostream" 8 using namespace std; 9 阅读全文
posted @ 2019-12-03 23:09 Butcher512 阅读(121) 评论(0) 推荐(0)
摘要: 1 // ConsoleApplication12.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include"stdlib.h" 6 #include"iostream" 7 using namespace std; 8 9 #defi 阅读全文
posted @ 2019-12-03 21:26 Butcher512 阅读(180) 评论(0) 推荐(0)