11 lines
195 B
C++
11 lines
195 B
C++
#include "printChar.h"
|
|
#include <cstdio>
|
|
|
|
void printChar(const char* character, bool errStream) {
|
|
if(errStream) {
|
|
std::putc(*character, stderr);
|
|
return;
|
|
}
|
|
std::putc(*character, stdout);
|
|
}
|