Data Structures & Algorithms in C++
Goodrich, Tamassia, Mount and Goldwasser
|
#include <string>
Namespaces | |
namespace | dsac |
Code from the zyBook "Data Structures and Algorithms in C++" by Goodrich/Tamassia/Mount/Goldwasser. | |
namespace | dsac::primer |
Code from the chapter "A C++ Primer". | |
Functions | |
int | dsac::primer::count (std::string s, char target) |
Returns the number of occurrences of target character in string s. | |
int | dsac::primer::count (const char *s, int n, char target) |
Returns the number of occurrences of target character in the n-character array s. | |
void | dsac::primer::remove_all (std::string &s, char target) |
Removes all occurrences of target character from string s. | |