File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,10 +5,4 @@ project(monopoly LANGUAGES CXX)
55set (CMAKE_CXX_STANDARD 11)
66set (CMAKE_CXX_STANDARD_REQUIRED ON )
77
8- # Force UTF-8 source and execution charset on MSVC
9- if (MSVC )
10- add_compile_options (/utf-8 )
11- add_compile_definitions (NOMINMAX )
12- endif ()
13-
148add_executable (monopoly monopoly.cpp )
Original file line number Diff line number Diff line change 77#include < vector>
88#include < array>
99#include < algorithm>
10-
11- #ifdef _WIN32
12- #define NOMINMAX
13- #include < windows.h>
14- #endif
1510
1611// Color groups for properties
1712enum ColorGroup {
@@ -1296,10 +1291,6 @@ bool lastManStanding(){
12961291
12971292// Main function to initialize and run the Monopoly game loop
12981293int main (){
1299- #ifdef _WIN32
1300- SetConsoleOutputCP (CP_UTF8 );
1301- SetConsoleCP (CP_UTF8 );
1302- #endif
13031294 // Initialize Gameboard
13041295 gameBoard = initializeGameBoard ();
13051296 chanceCards = initializeChanceCards ();
You can’t perform that action at this time.
0 commit comments