diff --git a/search/text_search.cpp b/search/text_search.cpp index 903442fc4..ee66a506a 100644 --- a/search/text_search.cpp +++ b/search/text_search.cpp @@ -1,9 +1,17 @@ +/** + * \file + * \brief Search for words in a long textual paragraph. + */ #include #include -#include - -char paragraph; +#ifdef _MSC_VER +#include // required for MS Visual C++ +#else +#include +#endif +/** Main function + */ int main() { std::string paragraph; std::cout << "Please enter your paragraph: \n";