Win32 functions use notes

xiaoxiao2021-03-06  14

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! !

转载请注明原文地址:https://www.9cbs.com/read-48867.html

New Post(0)