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:
parent
c034cce27c
commit
2dbc8feae3
4 changed files with 0 additions and 6 deletions
|
@ -21,7 +21,6 @@
|
||||||
//// Includes
|
//// Includes
|
||||||
////
|
////
|
||||||
|
|
||||||
#include <cstdlib>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include "benchmark.h"
|
#include "benchmark.h"
|
||||||
|
@ -48,8 +47,6 @@ using std::string;
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
// Disable IO buffering
|
// Disable IO buffering
|
||||||
setbuf(stdin, NULL);
|
|
||||||
setbuf(stdout, NULL);
|
|
||||||
std::cout.rdbuf()->pubsetbuf(NULL, 0);
|
std::cout.rdbuf()->pubsetbuf(NULL, 0);
|
||||||
std::cin.rdbuf()->pubsetbuf(NULL, 0);
|
std::cin.rdbuf()->pubsetbuf(NULL, 0);
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
////
|
////
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdio>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
////
|
////
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdio>
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
////
|
////
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdio>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "square.h"
|
#include "square.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue