- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprint_string.h
More file actions
Latest commit
22 lines (18 loc) · 528 Bytes
/
Copy pathprint_string.h
File metadata and controls
22 lines (18 loc) · 528 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef CPP_ALGORITHM_PRINT_STRING_H
#defineCPP_ALGORITHM_PRINT_STRING_H
#include<string>
namespacePrintString
{
/**
* \brief Manipulate a string to sine wave pattern like snake style.
* \param str the string to be manipulated.
* \return result string
*/
autoSineWaveString(const std::string& str) -> std::string;
/**
* \brief Print a string in sine wave pattern like snake style.
* \param str input string
*/
voidPrintSineWaveString(const std::string& str);
}
#endif