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
|
//// 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user