I have never liked the code, I feel that it doesn't mean. This time is better than the function is relatively simple, there is nothing too much to explain, put it up to let everyone see it :)
head File:
#pragma overce
#ifndef _flyingmagic_2_cut_word_export # pragma comment (lib, "..//lib//wordlib.lib")#endif // _flyingmagic_2_cut_word_export
Namespace wordlib {
// Does the string contain illegal characters BOOL _FLYINGMAGIC_2_CUT_WOR * STR);
// Filter string, if the illegal character is not found, return falsebool _flyingmagic_2_cut_word filtrate (char * dst, size_t len, const char * src);}