enable freopen to make some guides on the internet work
This commit is contained in:
parent
080e3f1261
commit
c0d288e9e8
|
@ -31,7 +31,6 @@ snprintf(char *buffer, std::size_t buf_size, const char *format, ...);
|
||||||
#define puts puts_is_evil
|
#define puts puts_is_evil
|
||||||
#define fputs fputs_is_evil
|
#define fputs fputs_is_evil
|
||||||
#define fgets fgets_is_evil
|
#define fgets fgets_is_evil
|
||||||
#define freopen freopen_is_evil
|
|
||||||
#define fopen fopen_is_evil
|
#define fopen fopen_is_evil
|
||||||
#define fclose fclose_is_evil
|
#define fclose fclose_is_evil
|
||||||
#define fflush fflush_is_evil
|
#define fflush fflush_is_evil
|
||||||
|
@ -48,8 +47,6 @@ snprintf(char *buffer, std::size_t buf_size, const char *format, ...);
|
||||||
[[deprecated("<cstdio> is evil. Use cin/cout.")]] char *
|
[[deprecated("<cstdio> is evil. Use cin/cout.")]] char *
|
||||||
fgets(char *str, int count, FILE *stream);
|
fgets(char *str, int count, FILE *stream);
|
||||||
[[deprecated("<cstdio> is evil. Use cin/cout.")]] std::FILE *
|
[[deprecated("<cstdio> is evil. Use cin/cout.")]] std::FILE *
|
||||||
freopen(const char *filename, const char *mode, std::FILE *stream);
|
|
||||||
[[deprecated("<cstdio> is evil. Use cin/cout.")]] std::FILE *
|
|
||||||
fopen(const char *filename, const char *mode);
|
fopen(const char *filename, const char *mode);
|
||||||
[[deprecated("<cstdio> is evil. Use cin/cout.")]] int
|
[[deprecated("<cstdio> is evil. Use cin/cout.")]] int
|
||||||
fclose(std::FILE *stream);
|
fclose(std::FILE *stream);
|
||||||
|
|
Loading…
Reference in New Issue