资源简介

C语言实现笔记本电脑的基础界面和简单功能

资源截图

代码片段和文件信息

/*--------------------------------------------------------- 
用VC的一定要选则 Win32 Console Application工程

未加入新功能
修复了一些bug,适配了所有编译器。。。
可直接运行exe或者赋值。

程序: 模拟笔记本电脑   (纯C语言,可直接编译器运行) 
作者: 0.0
说明: 1.这个程序本意在模拟电脑的基本功能,重在实现键盘的输入与键盘的控制,模拟开机,输密,打开软件,关闭电脑,所以其他功能暂没开发,不用太失望。 
   2.不同的编码会有不同的长度显示,但运行出来的效果都是一样的 
   3.代码规范不到位,见谅。 
   4.大一上写的,一般写小游戏练手,也琢磨到一些特殊的处理方法,所以对一些功能处理上有一些难理解的地方。 
       5.emmm,没啥了
---------------------------------------------------------*/
#include  //用于getch()
#include 
#include 
#include 
char start[20][300] = { //图形界面
    {“┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐“}
    {“ \\                                                                                                                         /“}
    {“  \\                                                                                                                       /“}
    {“   \\                                                                                                                     /“}
    {“    \\                                                                                                                   /“}
    {“     \\                                                               /~/~/                                             /“}
    {“      \\                                                             /~/~/                                             /“}
    {“       \\                                     Microsotf@             ~ ~     __ XP                                    /“}
    {“        \\                                    \\  /\\  / -  _   _|  _  _   _  /_                                       /“}
    {“         \\                                    \\/  \\/  | | | |_| |_| \\/\\/  __/                                      /“}
    {“          \\                                                                                                       /“}
    {“           \\                                        _____________________                                        /“}
    {“            \\                                      │                    │                                       /“}
    {“             \\                                     └────────────────────┘                                      /“}
    {“              \\                                                                                               /“}
    {“               \\  Copyright ΘMicrosoft Corporation                                            Microsoft*    /“}
    {“                \\ __________________________________________________________________________________________/“}};
char password[20][300] = {
    {“┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐“}
    {“ \\                                         

评论

共有 条评论