mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
document text_search
This commit is contained in:
parent
a3c1f04b31
commit
b122d659c3
@ -1,9 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* \file
|
||||||
|
* \brief Search for words in a long textual paragraph.
|
||||||
|
*/
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#ifdef _MSC_VER
|
||||||
|
#include <string> // required for MS Visual C++
|
||||||
char paragraph;
|
#else
|
||||||
|
#include <cstring>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** Main function
|
||||||
|
*/
|
||||||
int main() {
|
int main() {
|
||||||
std::string paragraph;
|
std::string paragraph;
|
||||||
std::cout << "Please enter your paragraph: \n";
|
std::cout << "Please enter your paragraph: \n";
|
||||||
|
Loading…
Reference in New Issue
Block a user