output.cpp

来自「c++编写的命令行解释器」· C++ 代码 · 共 24 行

CPP
24
字号
/***************************************************************
File: OUTPUT.CPP              Copyright 1992 by Dlugosz Software
part of the CMDL package for command-line parsing
handles output of messages.  replace these functions to suit.
This version may be used freely, with attribution.
***************************************************************/

#include "usual.h"
#include "cmdl.h"
#include <stdio.h>
#include <string.h>

void cmdl::output (const char* s)
{
if (s) fputs (s, stderr);
}


void cmdl::output (char c)
{
fputc (c, stderr);
}

⌨️ 快捷键说明

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