1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Finally remove last old C style I/O stuff

Now I/O is fully done with C++ iostreams.

The only exception is in non-windows version
of Bioskey() in misc.cpp

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2008-09-19 20:36:16 +01:00
parent c034cce27c
commit 2dbc8feae3
4 changed files with 0 additions and 6 deletions

View file

@ -21,7 +21,6 @@
//// Includes
////
#include <cstdlib>
#include <iostream>
#include "benchmark.h"
@ -48,8 +47,6 @@ using std::string;
int main(int argc, char *argv[]) {
// Disable IO buffering
setbuf(stdin, NULL);
setbuf(stdout, NULL);
std::cout.rdbuf()->pubsetbuf(NULL, 0);
std::cin.rdbuf()->pubsetbuf(NULL, 0);

View file

@ -22,7 +22,6 @@
////
#include <cassert>
#include <cstdio>
#include <iostream>
#include <fstream>

View file

@ -22,7 +22,6 @@
////
#include <cassert>
#include <cstdio>
#include <fstream>
#include <iostream>
#include <sstream>

View file

@ -22,7 +22,6 @@
////
#include <cassert>
#include <cstdio>
#include <string>
#include "square.h"