Find characters in multi-character strings Charnext
#include
#include
#include
Int main (int Argc, char * argv [])
{
Char szbuf [] = "Hello Hello!";
Printf ("% s / r / n", szbuf);
Const char * p = szbuf;
While (Strlen (P)> 0)
{
P = CharNext (P);
Printf ("% s / r / n", p);
}
_Getch ();
Return 0;
}
Output results:
Hello Hello! Ello Hello! Llo Hello! Lo Hello! o Hello! Hello there! it is good! !