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(); } } }