#include
#include
//strtok
int main() {
char *arry = "i love you China";
char *token = strtok( arry, " ");
while( token != NULL) {
printf("%s", token);
token = strtok( NULL, " ");
}
return 0;
}
#include
#include
//strtok
int main() {
char *arry = "i love you China";
char *token = strtok( arry, " ");
while( token != NULL) {
printf("%s", token);
token = strtok( NULL, " ");
}
return 0;
}
#include "stdafx.h"
#include
int main(int argc, char* argv[])
{
printf("Hello World!\n");
char arry[] = "i love you China";
char *token = strtok(arry, " ");
while( token != NULL) {
printf("%s\n", token);
token = strtok( NULL, " ");
}
return 0;
}