From a3c1f04b31ce57d89cf02ebfe743fc37ed01078f Mon Sep 17 00:00:00 2001 From: Krishna Vedala Date: Thu, 28 May 2020 21:36:01 -0400 Subject: [PATCH] replace platform specific system("pause") --- search/text_search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/text_search.cpp b/search/text_search.cpp index d01619738..903442fc4 100644 --- a/search/text_search.cpp +++ b/search/text_search.cpp @@ -28,7 +28,7 @@ int main() { << paragraph.find(word) << std::endl << std::endl; } - system("pause"); + std::cin.get(); } } }