swapped every \n with std::endl
This commit is contained in:
1 parent
ad6ee77a46
commit
7fb413fb01
5 files changed
+26
-26
No files matched your search
@@ -3,7 +3,7 @@
|
||||
void Bitboard::PrintBoard() const {
|
||||
for (int rank = 7; rank >= 0; rank--) {
|
||||
|
||||
std::cout << "+---+---+---+---+---+---+---+---+\n";
|
||||
std::cout << "+---+---+---+---+---+---+---+---+" << std::endl;
|
||||
std::cout << "| ";
|
||||
|
||||
for (int file = 0; file < 8; file++) {
|
||||
@@ -15,12 +15,12 @@ void Bitboard::PrintBoard() const {
|
||||
std::cout << ". | ";
|
||||
}
|
||||
}
|
||||
std::cout << ' ' << rank + 1 << '\n';
|
||||
std::cout << ' ' << rank + 1 << std::endl;
|
||||
}
|
||||
|
||||
std::cout << "+---+---+---+---+---+---+---+---+\n";
|
||||
std::cout << " a b c d e f g h\n\n";
|
||||
std::cout << " Board: 0x" << std::hex << m_board << '\n';
|
||||
std::cout << "+---+---+---+---+---+---+---+---+" << std::endl;
|
||||
std::cout << " a b c d e f g h" << std::endl << std::endl;
|
||||
std::cout << " Board: 0x" << std::hex << m_board << std::endl;
|
||||
}
|
||||
|
||||
bool Bitboard::IsSet(int square) const {
|
||||
|
||||
Reference in new issue
Block a user