error.c
来自「The purpose of this program is to run as」· C语言 代码 · 共 24 行
C
24 行
#include <stdio.h>#include <stdlib.h>#include <errno.h>void err_quit(const char* str) { perror(str); exit(1);}voiderr_cont(const char *str){ fprintf(stderr, "%s\n", str);}voiderr_exit(const char *str) { fprintf(stderr, "%s\n", str); exit(-1);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?