虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

OPTI-loop

  • 简单的计算器

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

  • Phase Locked Loop Design Fundamentals

    描述 了PLL 的基础知识哦,非常的 实用

    标签: Phase Locked Loop Design Fundamentals

    上传时间: 2017-03-13

    上传用户:rfzhangyicheng

  • LDO loop analysis

    LDO 的环路分析,对涉及、分析LDO的工作原理有帮助。

    标签: analysis loop LDO

    上传时间: 2017-09-09

    上传用户:banjieshubi

  • EDGE+for+Mobile+Internet

    The General Packet Radio Service (GPRS) allows an end user to send and receive data in packet transfer mode within a public land mobile network (PLMN) without using a permanent connection between the mobile station (MS) and the external network during data transfer. This way, GPRS opti- mizes the use of network and radio resources (RRs) since, unlike circuit- switched mode, no connection between the MS and the external network is established when there is no data flow in progress. Thus, this RR optimiza- tion makes it possible for the operator to offer more attractive fees.

    标签: Mobile EDGE

    上传时间: 2020-05-27

    上传用户:shancjb

  • Feedback+Strategies+for+Wireless+Communication

    During the past decade, many wireless communication techniques have been developedto achievevariousgoals suchas higherdata rate,morerobustlink quality, and higher number of users in a given bandwidth. For wireless communication systems, depending on the availability of a feedback link, two approaches can be considered: namely open and closed loop. Open loop communication system that does not exploit the channel knowledge at the transmitter is now well understood from both a theoretical and practical point of view. 

    标签: Communication Strategies Feedback Wireless for

    上传时间: 2020-05-27

    上传用户:shancjb

  • Fundamentals+of+Digital+Communication

    The field of digital communication has evolved rapidly in the past few decades, with commercial applications proliferating in wireline communi- cation networks (e.g., digital subscriber loop, cable, fiber optics), wireless communication (e.g., cell phones and wireless local area networks), and stor- age media (e.g., compact discs, hard drives). The typical undergraduate and graduate student is drawn to the field because of these applications, but is often intimidated by the mathematical background necessary to understand communication theory. 

    标签: Communication Fundamentals Digital of

    上传时间: 2020-05-27

    上传用户:shancjb

  • Transmission+Systems+Design+Handbooks

    Public telephone operators and new independent wireless operators through- out the world are deploying wireless access in an effort to drastically reduce delivery costs in the most expensive part of the network?the local loop. Available radio technology enables both existing and new entrants to access subscribers in a rapid manner and deliver their basic telephony products and broadband-enhanced services.

    标签: Transmission Handbooks Systems Design

    上传时间: 2020-06-01

    上传用户:shancjb

  • PLL锁相环

    PLL(Phase Locked Loop): 为锁相回路或锁相环,用来统一整合时钟信号,使高频器件正常工作,如内存的存取资料等。PLL用于振荡器中的反馈技术。 许多电子设备要正常工作,通常需要外部的输入信号与内部的振荡信号同步。一般的晶振由于工艺与成本原因,做不到很高的频率,而在需要高频应用时,由相应的器件VCO,实现转成高频,但并不稳定,故利用锁相环路就可以实现稳定且高频的时钟信号。

    标签: PLL 锁相环

    上传时间: 2021-07-23

    上传用户:紫阳帝尊

  • Operational Ampifier Stability 运算放大器的稳定性

    Wherever possible the overall technique used for this series will be "definition by example" withgeneric formulae included for use in other applications. To make stability analysis easy we will usemore than one tool from our toolbox with data sheet information, tricks, rules-of-thumb, SPICESimulation, and real-world testing all accelerating our design of stable operational amplifier (op amp)circuits. These tools are specifically targeted at voltage feedback op amps with unity-gain bandwidths<20 MHz, although many of the techniques are applicable to any voltage feedback op amp. 20 MHz ischosen because as we increase to higher bandwidth circuits there are other major factors in closing theloop: such as parasitic capacitances on PCBs, parasitic inductances in capacitors, parasitic inductancesand capacitances in resistors, etc. Most of the rules-of-thumb and techniques were developed not justfrom theory but from the actual building of real-world circuits with op amps <20 MHz.

    标签: 运算放大器

    上传时间: 2021-11-01

    上传用户:

  • ADC模数转换器件Altium Designer AD原理图库元件库

    ADC模数转换器件Altium Designer AD原理图库元件库SV text has been written to file : 4.4 - ADC模数转换器件.csvLibrary Component Count : 29Name                Description----------------------------------------------------------------------------------------------------ADC0800             National 8-Bit Analog to Digital ConverterADC0809             ADC0831             ADCADC0832             ADC8                Generic 8-Bit A/D ConverterCLC532              High-Speed 2:1 Analog MultiplexerCS5511              National 16-Bit Analog to Digital ConverterDAC8                Generic 8-Bit D/A ConverterEL1501              Differential line Driver/ReceiverEL2082              Current-Mode MultiplierEL4083              Current Mode Four Quadrant MultiplierEL4089              DC Restored Video AmplifierEL4094              Video Gain Control/FaderEL4095              Video Gain Contol/Fader/MultiplexerICL7106             LMC6953_NSC         PCI Local Bus Power SupervisorMAX4147             300MHz, Low-Power, High-Output-Current, Differential Line DriverMAX4158             350MHz 2-Channel Video Multiplexer-AmplifierMAX4159             350MHz 2-Channel Video Multiplexer-AmplifierMAX4258             250MHz, 2-Channel Video Multiplexer-AmplifierMAX4259             250MHz 2-Channel Video Multiplexer-AmplifierMAX951              Ultra-Low-Power, Single-Supply Op Amp + Comparator + ReferenceMAX952              Ultra-Low-Power, Single-Supply Op Amp + Comparator + ReferenceMC1496              Balanced Modulator/DemodulatorPLL100k             Generic Phase Locked LoopPLL10k              Generic Phase Locked LoopPLL5k               Generic Phase Locked LoopPLLx                Generic Phase Locked Loop水位计              

    标签: adc 模数转换 altium designer

    上传时间: 2022-03-13

    上传用户: