Implemented something like a console (still WIP).
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#if !defined(BAD_APPLE_OS_CSTDIO_INCLUDED)
|
||||
#define BAD_APPLE_OS_CSTDIO_INCLUDED
|
||||
|
||||
#include <string>
|
||||
#include <stdio.h>
|
||||
|
||||
namespace std
|
||||
@@ -21,6 +22,9 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user