@@ -30,6 +30,7 @@ The last 3 numbers are for the version number.
3030
3131#include < iostream>
3232#include < fstream>
33+ #include < string>
3334
3435#include " common-code/ConsoleUtils.h"
3536
@@ -107,40 +108,40 @@ int main(int argc, const char **argv) {
107108 BCD1FilenameList ();
108109 printf (" Enter the Filename of the Game which you wanna modify: " );
109110 std::string fileName;
110- std:: getline (std::cin, fileName);
111+ getline (std::cin, fileName);
111112
112113 printf (" Choose between [1] AppliInfo or [2] ENVIINFO: \n " );
113114 std::string choice;
114- std:: getline (std::cin, choice);
115+ getline (std::cin, choice);
115116
116117 // Ask the user for details based on the chosen section
117118 std::string Name, CDName, PictCD, MiniEnviVersion, Order, PictureNameR, PictureNameC, PictureNameN, IDFile, CDDetected;
118119
119120 if (choice == " 1" ) {
120121 printf (" Enter [AppliInfo] details:\n " ); // (Applications only!)
121122 printf (" Name: " );
122- std:: getline (std::cin, Name);
123+ getline (std::cin, Name);
123124 printf (" CDName: " );
124125 std::getline (std::cin, CDName);
125126 printf (" PictCD: " );
126- std:: getline (std::cin, PictCD);
127+ getline (std::cin, PictCD);
127128 printf (" MiniEnviVersion: " );
128- std:: getline (std::cin, MiniEnviVersion);
129+ getline (std::cin, MiniEnviVersion);
129130 // printf("Order: ");
130131 // std::getline(std::cin, Order);
131132 printf (" PictureNameR: " );
132- std:: getline (std::cin, PictureNameR);
133+ getline (std::cin, PictureNameR);
133134 printf (" PictureNameC: " );
134- std:: getline (std::cin, PictureNameC);
135+ getline (std::cin, PictureNameC);
135136 printf (" PictureNameN: " );
136- std:: getline (std::cin, PictureNameN);
137+ getline (std::cin, PictureNameN);
137138 }
138139 else if (choice == " 2" ) {
139140 printf (" Enter [ENVIINFO] details:\n " ); // (Environment only!)
140141 printf (" Name: " );
141- std:: getline (std::cin, Name);
142+ getline (std::cin, Name);
142143 printf (" PictCD: " );
143- std:: getline (std::cin, PictCD);
144+ getline (std::cin, PictCD);
144145 // printf("Order: ");
145146 // std::getline(std::cin, Order);
146147 // printf("IDFile: ");
@@ -191,4 +192,4 @@ int main(int argc, const char **argv) {
191192 printf (" BCD1 file was created sucessfully: %s" , fileName);
192193
193194 return 0 ;
194- }
195+ }
0 commit comments