// 學(xué)生管理.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; }
標(biāo)簽: 學(xué)生 計算器
上傳時間: 2016-12-29
上傳用戶:767483511
Abstract—In the future communication applications, users may obtain their messages that have different importance levels distributively from several available sources, such as distributed storage or even devices belonging to other users. This scenario is the best modeled by the multilevel diversity coding systems (MDCS). To achieve perfect (information-theoretic) secrecy against wiretap channels, this paper investigates the fundamental limits on the secure rate region of the asymmetric MDCS (AMDCS), which include the symmetric case as a special case. Threshold perfect secrecy is added to the AMDCS model. The eavesdropper may have access to any one but not more than one subset of the channels but know nothing about the sources, as long as the size of the subset is not above the security level. The question of whether superposition (source separation) coding is optimal for such an AMDCS with threshold perfect secrecy is answered. A class of secure AMDCS (S-AMDCS) with an arbitrary number of encoders is solved, and it is shown that linear codes are optimal for this class of instances. However, in contrast with the secure symmetric MDCS, superposition is shown to be not optimal for S-AMDCS in general. In addition, necessary conditions on the existence of a secrecy key are determined as a design guideline.
標(biāo)簽: Fundamental Limits Secure Class on of
上傳時間: 2020-01-04
上傳用戶:kddlas
The telecommunications industry has seen a rapid boost within the last decade. New realities and visions of functionalities in various telecommunications networks have brought forward the concept of next-generation networks (NGNs). The competitions among operators for support- ing various services, lowering of the cost of having mobile and cellular phones and smartphones, increasing demand for general mobility, explosion of digital traffic, and advent of convergence network technologies added more dynamism in the idea of NGNs. In fact, facilitating con- vergence of networks and convergence of various types of services is a significant objective of NGN
標(biāo)簽: Next-Generation Converged Building Networks
上傳時間: 2020-05-26
上傳用戶:shancjb
Fixed-mobile.convergence.and.voice-data.networks.have.merged.next-gen- eration,.value-added.applications.and.integrated.multimedia.services,.com- bining. Web. browsing,. instant. messaging,. presence,. voice. over. IP,. video. conferencing,. application. sharing,. telephony,. unified. messaging,. multi- media.content.delivery,.etc..on.top.of.different.network.technologies..The. convergence.of.the.communications.networks.is.motivated.by.the.need.to. support.many.forms.of.digital.traffic.as.well.as.to.amortize.implementation. and.operational.costs.of.the.underlying.networks..Historically,.the.approach. to. build. and. deploy. multimedia. services. has. focused. upon. single-point. solutions..
標(biāo)簽: Multimedia Subsystem Handbook IMS IP
上傳時間: 2020-05-27
上傳用戶:shancjb
The telecommunications industry has seen a rapid boost within the last decade. New realities and visions of functionalities in various telecommunications networks have brought forward the concept of next-generation networks (NGNs). The competitions among operators for support- ing various services, lowering of the cost of having mobile and cellular phones and smartphones, increasing demand for general mobility, explosion of digital traffic, and advent of convergence network technologies added more dynamism in the idea of NGNs. In fact, facilitating con- vergence of networks and convergence of various types of services is a significant objective of NGNs.
標(biāo)簽: Next-Generation Converged Networks
上傳時間: 2020-05-31
上傳用戶:shancjb
By inventing the wireless transmitter or radio in 1897, the Italian physicist Tomaso Guglielmo Marconi added a new dimension to the world of communications. This enabled the transmission of the human voice through space without wires. For this epoch-making invention, this illustrious scientist was honored with the Nobel Prize for Physics in 1909. Even today, students of wireless or radio technology remember this distinguished physicist with reverence. A new era began in Radio Communications.
標(biāo)簽: Radio Frequency Modulation
上傳時間: 2020-06-01
上傳用戶:shancjb
The use of mobile devices now surpasses that of traditional computers: wireless users will hence soon be demanding the same rich multimedia services on their mobile devices that they have on their desktop personal computers. In addition, new services will be added, especially related with their mobile needs, such as location-based information services.
標(biāo)簽: Communications Technology Wireless Trends in
上傳時間: 2020-06-01
上傳用戶:shancjb
It has been over a decade since the Chinese publication of Line Loss in Electric Power Systems. To keep pace with technological developments, I started a revision as early as 2002, following the main principles that the theoretical framework and characteristics of the first edition should be retained, with new contents added according to new problems after the reform of electric power systems and the new requirements for line loss management practices and in combination with practical experience.
上傳時間: 2020-06-07
上傳用戶:shancjb
Computer science as an academic discipline began in the 1960’s. Emphasis was on programming languages, compilers, operating systems, and the mathematical theory that supported these areas. Courses in theoretical computer science covered finite automata, regular expressions, context-free languages, and computability. In the 1970’s, the study of algorithms was added as an important component of theory. The emphasis was on making computers useful. Today, a fundamental change is taking place and the focus is more on a wealth of applications. There are many reasons for this change. The merging of computing and communications has played an important role. The enhanced ability to observe, collect, and store data in the natural sciences, in commerce, and in other fields calls for a change in our understanding of data and how to handle it in the modern setting. The emergence of the web and social networks as central aspects of daily life presents both opportunities and challenges for theory.
標(biāo)簽: Foundations Science Data of
上傳時間: 2020-06-10
上傳用戶:shancjb
高清電子書-C++ Primer Plus, 第6版英文版 1438頁Learning C++ is an adventure of discovery, particularly because the language accommodates several programming paradigms, including object-oriented programming, generic programming, and the traditional procedural programming.The fifth edition of this book described the language as set forth in the ISO C++ standards, informally known as C++99 and C++03, or, sometimes as C++99/03. (The 2003 version was largely a technical correction to the 1999 standard and didn’t add any new features.) Since then, C++ continues to evolve.As this book is written, the international C++ Standards Committee has just approved a new version of the standard.This standard had the informal name of C++0x while in development, and now it will be known as C++11. Most contemporary compilers support C++99/03 quite well, and most of the examples in this book comply with that standard. But many features of the new standard already have appeared in some implementations, and this edition of C++ Primer Plus explores these new features. C++ Primer Plus discusses the basic C language and presents C++ features, making this book self-contained. It presents C++ fundamentals and illustrates them with short, to-the-point programs that are easy to copy and experiment with.You learn about input/output (I/O), how to make programs perform repetitive tasks and make choices, the many ways to handle data, and how to use functions.You learn about the many features C++ has added to C, including the followi
標(biāo)簽: C++
上傳時間: 2022-02-19
上傳用戶:trh505
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1