Cambiando printf por std::cout
This commit is contained in:
@@ -44,7 +44,7 @@ Reescribiendo el código el 27/09/2022
|
||||
|
||||
int main(int argc, char *args[])
|
||||
{
|
||||
printf("Starting the game...\n\n");
|
||||
std::cout << "Starting the game...\n\n";
|
||||
|
||||
// Crea el objeto Director
|
||||
Director *director = new Director(args[0]);
|
||||
@@ -55,7 +55,7 @@ int main(int argc, char *args[])
|
||||
// Destruye el objeto Director
|
||||
delete director;
|
||||
|
||||
printf("\nShutting down the game...\n");
|
||||
std::cout << "\nShutting down the game..." << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user