mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-05 11:40:46 +08:00
document text_search
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user