document text_search

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

View File

@ -1,9 +1,17 @@
/**
* \file
* \brief Search for words in a long textual paragraph.
*/
#include <cstdlib>
#include <iostream>
#include <string>
char paragraph;
#ifdef _MSC_VER
#include <string> // required for MS Visual C++
#else
#include <cstring>
#endif
/** Main function
*/
int main() {
std::string paragraph;
std::cout << "Please enter your paragraph: \n";