replace platform specific system("pause")

This commit is contained in:
Krishna Vedala 2020-05-28 21:36:01 -04:00
parent 9dc580c045
commit a3c1f04b31
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -28,7 +28,7 @@ int main() {
<< paragraph.find(word) << std::endl << paragraph.find(word) << std::endl
<< std::endl; << std::endl;
} }
system("pause"); std::cin.get();
} }
} }
} }