31 lines
528 B
Plaintext
31 lines
528 B
Plaintext
|
|
#pragma once
|
|
|
|
#if !defined(BAD_APPLE_OS_CSTDIO_INCLUDED)
|
|
#define BAD_APPLE_OS_CSTDIO_INCLUDED
|
|
|
|
#include <string>
|
|
#include <stdio.h>
|
|
|
|
namespace std
|
|
{
|
|
using ::EOF;
|
|
|
|
using ::putchar;
|
|
using ::puts;
|
|
using ::printf;
|
|
using ::vprintf;
|
|
using ::snprintf;
|
|
using ::vsnprintf;
|
|
|
|
using ::fgets;
|
|
using ::fgetc;
|
|
using ::getc;
|
|
using ::getchar;
|
|
|
|
bool fgetline(FILE* stream, std::string& outLine) noexcept;
|
|
inline bool getline(std::string& outLine) noexcept { return fgetline(stdin, outLine); }
|
|
}
|
|
|
|
#endif // !defined(BAD_APPLE_OS_CSTDIO_INCLUDED)
|