亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

Member-function

  • 簡單的計算器

    // 學生管理.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

  • 期刊論文A belief functio

    A belief function distance metric for orderable sets, Information Fusion 14 (4) (2013) 361–373. 期刊論文

    標簽: functio belief 論文

    上傳時間: 2017-10-12

    上傳用戶:ziyoudexiaod

  • matlab 滑動相關計算程序

    function [Rs,Ps]=move_corr(X,Y,a) %%%--- this function is for moving correlation %%%--- X,Y is the imput data, a is the length of the moving window %%%--- Rs is the spwarman correlation coeffcient, Ps is the p_vaue

    標簽: matlab 計算 程序

    上傳時間: 2017-12-27

    上傳用戶:Clocks

  • 有限差分法

    function [alpha,N,U]=youxianchafen2(r1,r2,up,under,num,deta)      %[alpha,N,U]=youxianchafen2(a,r1,r2,up,under,num,deta)   %該函數用有限差分法求解有兩種介質的正方形區域的二維拉普拉斯方程的數值解   %函數返回迭代因子、迭代次數以及迭代完成后所求區域內網格節點處的值   %a為正方形求解區域的邊長   %r1,r2分別表示兩種介質的電導率   %up,under分別為上下邊界值   %num表示將區域每邊的網格剖分個數   %deta為迭代過程中所允許的相對誤差限      n=num+1; %每邊節點數   U(n,n)=0; %節點處數值矩陣   N=0; %迭代次數初值   alpha=2/(1+sin(pi/num));%超松弛迭代因子   k=r1/r2; %兩介質電導率之比   U(1,1:n)=up; %求解區域上邊界第一類邊界條件   U(n,1:n)=under; %求解區域下邊界第一類邊界條件   U(2:num,1)=0;U(2:num,n)=0;      for i=2:num   U(i,2:num)=up-(up-under)/num*(i-1);%采用線性賦值對上下邊界之間的節點賦迭代初值   end   G=1;   while G>0 %迭代條件:不滿足相對誤差限要求的節點數目G不為零   Un=U; %完成第n次迭代后所有節點處的值   G=0; %每完成一次迭代將不滿足相對誤差限要求的節點數目歸零   for j=1:n   for i=2:num   U1=U(i,j); %第n次迭代時網格節點處的值      if j==1 %第n+1次迭代左邊界第二類邊界條件   U(i,j)=1/4*(2*U(i,j+1)+U(i-1,j)+U(i+1,j));   end         if (j>1)&&(j                 U2=1/4*(U(i,j+1)+ U(i-1,j)+ U(i,j-1)+ U(i+1,j));    U(i,j)=U1+alpha*(U2-U1); %引入超松弛迭代因子后的網格節點處的值      end      if i==n+1-j %第n+1次迭代兩介質分界面(與網格對角線重合)第二類邊界條件   U(i,j)=1/4*(2/(1+k)*(U(i,j+1)+U(i+1,j))+2*k/(1+k)*(U(i-1,j)+U(i,j-1)));      end      if j==n %第n+1次迭代右邊界第二類邊界條件   U(i,n)=1/4*(2*U(i,j-1)+U(i-1,j)+U(i+1,j));   end   end   end   N=N+1 %顯示迭代次數   Un1=U; %完成第n+1次迭代后所有節點處的值   err=abs((Un1-Un)./Un1);%第n+1次迭代與第n次迭代所有節點值的相對誤差   err(1,1:n)=0; %上邊界節點相對誤差置零   err(n,1:n)=0; %下邊界節點相對誤差置零    G=sum(sum(err>deta))%顯示每次迭代后不滿足相對誤差限要求的節點數目G   end

    標簽: 有限差分

    上傳時間: 2018-07-13

    上傳用戶:Kemin

  • read_segy_file_legacy

    read_segy_file_legacy Function reads a SEG-Y file and outputs a seismic structure Last updated: April 6, 2007: fix bug in reading of user-specified header

    標簽: read_segy_file_legacy

    上傳時間: 2019-04-04

    上傳用戶:wc12

  • =read_segy_file

    Function reads a SEG-Y file and outputs a seismic structure; the function

    標簽: read_segy_file

    上傳時間: 2019-04-04

    上傳用戶:wc12

  • 多元散射校正MSC

    function [R,k,b] = msc(A) % 多元散射校正 % 輸入待處理矩陣,通過多元散射校正,求得校正后的矩陣 %% 獲得矩陣行列數 [m,n] = size(A); %% 求平均光譜 M = mean(A,2); %% 利用最小二乘法求每一列的斜率k和截距b for i = 1:n a = polyfit(M,A(:,i),1); if i == 1 k = a(1); b = a(2); else k = [k,a(1)]; b = [b,a(2)]; end end %% 求得結果 for i = 1:n Ai = (A(:,i)-b(i))/k(i); if i == 1 R = Ai; else R = [R,Ai]; end end

    標簽: MSC 多元 散射 校正

    上傳時間: 2020-03-12

    上傳用戶:15275387185

  • Copper+Cabling+-+Applications

    How will future generations refer to our times? Will it be known as one of space exploration, genetics, atomic energy or computing? Possibly, but I think it is more likely to be ‘The age of communications’. Not since printed books and newspapers were first introduced has there been such an explosion of communication. None of this technology could function without modern cables and, just as important, competent installers.

    標簽: Applications Cabling Copper

    上傳時間: 2020-05-27

    上傳用戶:shancjb

  • Essentials+of+Short-Range+Wireless

    Over the past ten years there has been a revolution in the devel- opment and acceptance of mobile products. In that period, cel- lular telephony and consumer electronics have moved from the realm of science fiction to everyday reality. Much of that revolu- tion is unremarkable – we use wireless, in its broadest sense, for TV remote controls, car keyfobs, travel tickets and credit card transactions every day. At the same time, we have increased the number of mobile devices that we carry around with us. However, in many cases the design and function of these and other static products are still constrained by the wired connections that they use to transfer and share data.

    標簽: Short-Range Essentials Wireless of

    上傳時間: 2020-05-27

    上傳用戶:shancjb

  • The Complete Wireless Communications

    When thinking about mobile radio engineers there is a tendency to assume that the engineering function relates solely to the technical aspects of the network, such as the equipment design or the network design. That is certainly a key part of the role of a mobile radio engineer. However,increasinglyengineersarerequiredtointeractwithprofession- als from other divisions. The “complete wireless professional” should know about mobile networks; fixed networks; other types of mobile systems; regulatory and government policy; the requirements of the users; and financial, legal, and marketing issues.

    標簽: Communications Complete Wireless The

    上傳時間: 2020-06-01

    上傳用戶:shancjb

主站蜘蛛池模板: 甘泉县| 霍州市| 汝城县| 南召县| 会宁县| 鹤壁市| 尼玛县| 体育| 大渡口区| 永定县| 广平县| 博罗县| 满城县| 新宾| 弥渡县| 阿坝县| 罗定市| 鹤庆县| 平山县| 清水县| 民乐县| 含山县| 海林市| 南雄市| 玉山县| 淳化县| 仙游县| 孝感市| 视频| 格尔木市| 芮城县| 文成县| 遂溪县| 东海县| 六枝特区| 道真| 炎陵县| 鄂尔多斯市| 渝中区| 若羌县| 绥阳县|