学习编程中的Ben 发表于 2022-12-28 17:06:53

编程追风梦 发表于 2022-12-28 17:04
诶,有道理

哈哈哈,对了,你几岁啊

学习编程中的Ben 发表于 2022-12-28 17:07:21

编程追风梦 发表于 2022-12-28 17:04
诶,有道理

13?

编程追风梦 发表于 2022-12-28 17:07:57

学习编程中的Ben 发表于 2022-12-28 17:07
13?

12岁

学习编程中的Ben 发表于 2022-12-28 17:09:28

编程追风梦 发表于 2022-12-28 17:07
12岁

和我一样!!我也12

编程追风梦 发表于 2022-12-28 17:10:18

学习编程中的Ben 发表于 2022-12-28 17:09
和我一样!!我也12

哈哈哈,好巧啊!

zhangjinxuan 发表于 2023-1-3 15:03:31

编程追风梦 发表于 2022-12-28 17:10
哈哈哈,好巧啊!

12too{:10_257:}

liuhongrun2022 发表于 2023-1-3 19:37:56

加强的Py版本:
https://fishc.com.cn/thread-222827-1-2.html

苗澍辰 发表于 2023-1-4 15:53:59

柿子饼同学 发表于 2022-12-27 17:37
去卡卡洛谷倒是不错

这是我的代码
#include <iostream>
#include <windows.h>

using namespace std;

void full_screen() {
        HWND hwnd = GetForegroundWindow();
        int cx = GetSystemMetrics(SM_CXSCREEN);
        int cy = GetSystemMetrics(SM_CYSCREEN);

        LONG l_WinStyle = GetWindowLong(hwnd,GWL_STYLE);   //获取窗口信息
        SetWindowLong(hwnd,GWL_STYLE,
                      (l_WinStyle | WS_POPUP | WS_MAXIMIZE) & ~WS_CAPTION & ~WS_THICKFRAME &
                      ~WS_BORDER);
        SetWindowPos(hwnd, HWND_TOP, 0, 0, cx, cy, 0);
}
void HideTheCursor() {
        CONSOLE_CURSOR_INFO cciCursor;
        HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);

        if(GetConsoleCursorInfo(hStdOut, &cciCursor)) {
                cciCursor.bVisible = FALSE;
                SetConsoleCursorInfo(hStdOut, &cciCursor);
        }
}

int main()
{
        system("mode 96,28");
        HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE);
        DWORD mode;
        GetConsoleMode(hStdin, &mode);
        mode &= ~ENABLE_QUICK_EDIT_MODE;
        SetConsoleMode(hStdin, mode);
        HideTheCursor();
        CONSOLE_FONT_INFOEX cfi;
        cfi.cbSize = sizeof cfi;
        cfi.nFont = 0;
        cfi.dwFontSize.X = 15;
        cfi.dwFontSize.Y = 30;
        cfi.FontFamily = FF_DONTCARE;
        cfi.FontWeight = FW_NORMAL;
        wcscpy(cfi.FaceName, L"MS Gothic");
        SetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), FALSE, &cfi);
        system("color 1f");
        RECT rect;
        HWND hwnd=GetForegroundWindow();
        GetWindowRect(hwnd,&rect);
        MoveWindow(hwnd,-30,-7,8600,1080,TRUE);
        full_screen();
        cout<<"A problem has been detected and windows has been shut\
down to prevent damage\n\
to your computer.\n\n\
DRIVER_IROL_NOT_LESS_OR_EQUAL\n\n\
If this is the first time you've seen this Stop error screen, \n\
restart your computer.If this screen appears again, follow \n\
these steps:\n\n\
Check to make sure any new hardware or software is properly installed.\n\
If this is a new installation, ask your hardware or software manufacturer\n\
for any windows updates you might need.\n\n\
If problems continue. disable or remove any newly installed hardware\n\
or software. Disable BIOS memory option such as caching or shadowing.\n\
If you need to nsu Safe Mode to remove or disable components, restart\n\
your computer, press F8 to select Advanced Startup Options, and then\n\
select Safe Mode.\n\n\
Technical information:\n\
\"\"\"STOP:0x00000050(xFD3094c2,0x00000001,0xFBFE7617,0x00000000)n\n\
\"\"\"SPCMDON.SYS - Address FBFE7617 base at FBFE5000, DateStamp 3d6dd67c"<<endl;
        while(true)
    {
                HideTheCursor();
                Sleep(1000);
        }
        return 0;
}

苗澍辰 发表于 2023-1-4 15:55:44

可以运行看看
C:\微信图片_20230104155502.png

苗澍辰 发表于 2023-1-4 15:56:17

苗澍辰 发表于 2023-1-4 15:55
可以运行看看

无法发图片

zsy0226 发表于 2023-1-7 13:13:00

苗澍辰 发表于 2023-1-4 15:56
无法发图片

你是乞丐,阅读权限都只有1
页: 1 [2]
查看完整版本: C++蓝屏机【电脑太正常想蓝屏一下?来这里!100%安全】【系统恶搞】