@@ -77,7 +77,7 @@ void launchCommand(const std::string& command) {
7777int modifyMDOIni () {
7878 // Check if mdo.ini exists
7979 if (!fs::exists (" mdo.ini" )) {
80- std::cout << " Error: This directory does not seem to contain an configuration file in the directory.\n " << std::endl ;
80+ printf ( " Error: This directory does not seem to contain an configuration file in the directory.\n " ) ;
8181 TaskExecution::pressEnterToExit ();
8282 return 1 ;
8383 }
@@ -93,7 +93,7 @@ int modifyMDOIni() {
9393int showMSGDef () {
9494 // Check if mdo.ini exists
9595 if (!fs::exists (" msg.def" )) {
96- std::cout << " Error: This directory does not seem to contain an debug configuration file in the directory.\n " << std::endl ;
96+ printf ( " Error: This directory does not seem to contain an debug configuration file in the directory.\n " ) ;
9797 TaskExecution::pressEnterToExit ();
9898 return 1 ;
9999 }
@@ -125,7 +125,7 @@ int modifyMDODbg() {
125125int showTraceTXT () {
126126 // Check if Trace.txt exists
127127 if (!fs::exists (" Trace.txt" )) {
128- std::cout << " Error: This directory does not contain an Debug log in the directory.\n " << std::endl ;
128+ printf ( " Error: This directory does not contain an Debug log in the directory.\n " ) ;
129129 TaskExecution::pressEnterToExit ();
130130 return 1 ;
131131 }
@@ -141,7 +141,7 @@ int showTraceTXT() {
141141int modifyAdibou3Ini () {
142142 // Check if Adibou3.ini exists
143143 if (!fs::exists (" Adibou3.ini" )) {
144- std::cout << " Error: This directory does not seem to be an Adibou 3 game directory.\n " << std::endl ;
144+ printf ( " Error: This directory does not seem to be an Adibou 3 game directory.\n " ) ;
145145 TaskExecution::pressEnterToExit ();
146146 return 1 ;
147147 }
@@ -272,7 +272,7 @@ void startGameExecutable() {
272272 }
273273 }
274274
275- std::cout << " None of the executables found.\n Please make sure you have the exe in the same directory as the launcher." << std::endl ;
275+ printf ( " None of the executables found.\n Please make sure you have the exe in the same directory as the launcher.\n " ) ;
276276}
277277
278278
@@ -446,4 +446,4 @@ if (restartChoice == 'n' || restartChoice == 'N') {
446446
447447return 0 ;
448448
449- } // End of namespace fs
449+ } // End of namespace fs
0 commit comments