special.c

来自「c版本的」· C语言 代码 · 共 29 行

C
29
字号
                                        /* Chapter 9 - Program 7 */
#include "stdio.h"

main()
{
int index;

   for (index = 0;index < 6;index++) {
      printf("This line goes to the standard output.\n");
      fprintf(stderr,"This line goes to the error device.\n");
   }

   exit(4);  /* This can be tested with the DOS errorlevel
                command in a batch file. The number returned
                is used as follows;

                IF ERRORLEVEL 4 GOTO FOUR
                (continue here if less than 4)
                .
                .
                GOTO DONE
                :FOUR
                (continue here if 4 or greater)
                .
                .
                :DONE
                                                                  */
}

⌨️ 快捷键说明

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