Windows is a microcomputer-based operating system that provides applications with a multi-tasking platform that provides consistent graphical Windows and menus for applications.
Windows applications have a graphical interface and are driven by events to run them.
Graphical user interface (GUI)-- fit with keyboard and mouse
difference: ordinary C language Program: Main function (System load) and function of main function call, Windows program main function (System load) and event handler function (System call);
A Windows application is made up of Windows systems and program main functions and their associated event message handler functions.
The Windows operating system and the main function names of Windows programs
The starting function prototype for a Windows application is:
int WINAPI winmain{ hinstance hinstance, hinstance hprevinstance, LPSTR lpcmdline , int ncmdshow};
Windows kernel, APIs, and development tools
kernel: The core code in the operating system, running at the highest level of hardware design, must be invoked using the API functions provided by Windows.
API functions: 1. Window management function--to create, move, modify the function of window
2. Image device Function--realize graphics drawing and operation function {Graphics Device interface (GDI)}
3. System service Function--implement some functions related to the operating system
Development tools:
Object-oriented programming ideas and methods--people use classes to encapsulate Windows API functions.
object-oriented and visual: Visual C + +, visual Basic, C + + Builder
Basic concepts of Windows Program Foundation--windows Applications