Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Lab_17/Education.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ int main() {
//
F_First_Program_Menu();

system("pause");
// Use a safer alternative to pause the program
std::cout << "Press Enter to continue...";
std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');

return 0;
}
void F_First_Program_Menu() {
Expand Down