(51CTO official C/C development engineer QQ group (1090119), please enter your ID for verification. ?This book introduces how to design a windowed graphical user interface with a "self-contained Chinese character environment" for use programs written in C language. The book systematically introduces the programming methods of VGA display card, mouse, keyboard and extended memory, and builds a built-in Chinese character programming environment HANENV on this basis, including a header file and more than 200 library functions. After HANENV participates in Tur-boC, its library functions can be directly quoted when writing programs. The functions of these library functions include input, storage and display of Chinese characters; clocks, timers and flashing cursors; full-screen data recording and drawing; windowed interface components such as windows, scroll bars, key menus, and code tables. At the same time, the HANENV system also provides functions such as calculator, palette, file directory window and screen smooth movement. After compiling, the software written in HANENV can be directly run in the Western DOS environment and has strong Chinese character management ability. Therefore, HANENV system is the best programming environment to use C language to write gorgeous and effective user interface programs.)