Implemented simple IO for getting keyboard input.
This commit is contained in:
@@ -25,7 +25,7 @@ public:
|
||||
using iterator = pointer;
|
||||
using const_iterator = const_pointer;
|
||||
|
||||
T _elements[N];
|
||||
T _elements[N] = {};
|
||||
|
||||
constexpr reference operator[](size_type pos) noexcept
|
||||
{
|
||||
|
||||
@@ -8,10 +8,19 @@
|
||||
|
||||
namespace std
|
||||
{
|
||||
using ::EOF;
|
||||
|
||||
using ::putchar;
|
||||
using ::puts;
|
||||
using ::printf;
|
||||
using ::vprintf;
|
||||
using ::snprintf;
|
||||
using ::vsnprintf;
|
||||
|
||||
using ::fgets;
|
||||
using ::fgetc;
|
||||
using ::getc;
|
||||
using ::getchar;
|
||||
}
|
||||
|
||||
#endif // !defined(BAD_APPLE_OS_CSTDIO_INCLUDED)
|
||||
|
||||
Reference in New Issue
Block a user