mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08: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:
@@ -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);
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
////
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
////
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
////
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
#include "square.h"
|
||||
|
||||
Reference in New Issue
Block a user