Skip to content

Commit 6294197

Browse files
author
unitvector2021
committed
add
1 parent e39aeef commit 6294197

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GameDevelop/Source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ void win() {
398398
gotoxy(14, 11); cout << "* *";
399399
gotoxy(14, 12); cout << "* *";
400400
gotoxy(14, 13); cout << "*******************************************";
401-
gotoxy(14, 10); cout << "* Enter your name : "; getline(cin,NameWin);
401+
gotoxy(14, 10); cout << "* Enter your name : "; cin >> NameWin;
402402
hideCursor(0);
403403
vector<pair<int, string>> userScore;
404404
fstream file("score.txt", ios::in);

0 commit comments

Comments
 (0)