funtc117b.dat

来自「指令字典2005里面可以方便的查找一些函数」· DAT 代码 · 共 21 行

DAT
21 行
字号
#include <stdio.h>
#include <dos.h>
int main(void)
{
    FILE *fp;
    struct DOSERROR info;
    fp = fopen("perror.dat","r");
    if (!fp) perror("Unable to open file for reading");
    dosexterr(&info);
    printf("Extended DOS error information:");
    printf("Extended error: %d",info.exterror);
    printf("Class: %x",info.class);
    printf("Action: %x",info.action);
    printf("Error Locus: %x",info.locus);
    return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?