- Tip N.1:
Convert text to lower case using std (library).
std::transform(myString.begin(), myString.end(), myString.begin(), ::tolower); - Tip N.2:
Pointer to functions. How to do we get a pointer to a function that belongs to a class? What if it is static or a member function? The following article explains in detail how to address method pointers. Here is an example:
int (MyClass::*NameOfFunctionPointer)(int,int,int);
Here is some more from the code project.
Tags
c++