// 學生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person { char name[10]; int ID; int cj_yw; int cj_sx; struct person* next; struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow)) { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0)) { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // // FUNCTION: MyRegisterClass() // // PURPOSE: Registers the window class. // // COMMENTS: // // This function and its usage is only necessary if you want this code // to be compatible with Win32 systems prior to the 'RegisterClassEx' // function that was added to Windows 95. It is important to call this function // so that the application will get 'well formed' small icons associated // with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // // FUNCTION: InitInstance(HANDLE, int) // // PURPOSE: Saves instance handle and creates main window // // COMMENTS: // // In this function, we save the instance handle in a global variable and // create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { HWND hWnd; hInst = hInstance; // Store instance handle in our global variable hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); if (!hWnd) { return FALSE; } ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd); return TRUE; } // // FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // // PURPOSE: Processes messages for the main window. // // WM_COMMAND - process the application menu // WM_PAINT - Paint the main window // WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message) { case WM_COMMAND: wmId = LOWORD(wParam); wmEvent = HIWORD(wParam); // Parse the menu selections: switch (wmId) { case IDM_ABOUT: DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About); break; case IDM_EXIT: DestroyWindow(hWnd); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; } return FALSE; }
標簽: 學生 計算器
上傳時間: 2016-12-29
上傳用戶:767483511
EasyRecovery是一款操作安全、價格便宜、用戶自主操作的非破壞性的只讀應用程序,它不會往源驅上寫任何東西,也不會對源驅做任何改變。它支持從各種各樣的存儲介質恢復刪除或者丟失的文件,其支持的媒體介質包括:硬盤驅動器、光驅、閃存、以及其它多媒體移動設備。為了保持驅動器上刪除或者丟失的文件,所有被恢復的文件必須保存到另外的存儲設備或者系統里的其它驅動器名下。無論文件是被命令行方式刪除,還是被應用程序或者文件系統刪除,還是從回收站刪除,EasyRecovery都能恢復被刪除的文件。
標簽: Easyrecovery 數據恢復 軟件
上傳時間: 2017-04-28
上傳用戶:cjmktt
基于該WIN7下使用的驅動助手 好用,好壞 好用好好好好好
上傳時間: 2017-05-19
上傳用戶:tiyueliang
origin pro8.0漢化包適用于origin pro使用。origin pro8.0是公認的最好用的函數繪圖分析軟件,靈活、快速、易學,官方只有英文版。腳本之家為你提供的是origin8漢化包+origin8破解文 件,幫助大家輕松使用origin8.0破解版,需要的朋友快來下載使用吧! origin8漢化包使用方法:
上傳時間: 2018-01-15
上傳用戶:l790642628
Easyrecovery支持恢復不同存儲介質數據,在Windows中恢復受損和刪除文件,以及能檢索數據格式化或損壞卷,甚至還可以從初始化磁盤。同時,你只需要最簡單的操作就可以恢復數據文件,如:硬盤、光盤、U盤/移動硬盤、數碼相機、手機、Raid文件恢復等。
標簽: Easyrecovery
上傳時間: 2018-08-28
上傳用戶:cjmktt
M340各模擬量模塊資料,包括硬件配置 及軟件里對各參數設置 以及編程所需資料
標簽: Modicon Unity M340 2012 Pro IO模塊 模擬量 用戶手冊
上傳時間: 2018-12-31
上傳用戶:YX_wucl
Mega2560 Pro ATmega2560-16AU USB CH340G智能電子開發板
上傳時間: 2020-02-11
上傳用戶:loee小勺
Communication between various devices makes it possible to pro- vide unique and innovative services. Although this interdevice com- munication is a very powerful mechanism, it is also a complex and clumsy mechanism, leading to a lot of complexity in present day systems. This not only makes networking difficult but also limits its flexibility.
標簽: Wireless Networks Mobile Hoc Ad
上傳時間: 2020-05-26
上傳用戶:shancjb
Wireless technologies like GSM, UMTS, LTE, Wireless LAN and Bluetooth have revolutionized the way we communicate by making services like telephony and Internet access available anytime and from almost anywhere. Today, a great variety of technical publications offer background information about these technologies but they all fall short in one way or another. Books covering these technologies usually describe only one of the systems in detail and are generally too complex as a first introduction. The Internet is also a good source, but the articles one finds are usually too short and super- ficial or only deal with a specific mechanism of one of the systems. For this reason, it was difficult for me to recommend a single publication to students in my telecommunication classes, which I have been teaching in addition to my work in the wireless telecommunication industry. This book aims to change this.
標簽: LTE-Advanced From GSM Pro and 5G to
上傳時間: 2020-05-27
上傳用戶:shancjb
In this thesis several asp ects of space-time pro cessing and equalization for wire- less communications are treated. We discuss several di?erent metho ds of improv- ing estimates of space-time channels, such as temp oral parametrization, spatial parametrization, reduced rank channel estimation, b o otstrap channel estimation, and joint estimation of an FIR channel and an AR noise mo del. In wireless commu- nication the signal is often sub ject to intersymb ol interference as well as interfer- ence from other users.
標簽: Communications Space-Time Processing Wireless for
上傳時間: 2020-06-01
上傳用戶:shancjb