Tag: 重启

在c中重新启动while循环而没有整数

我试图让这个代码工作,但我不知道如何重新启动内部while循环。 我该怎么办? /* * Return a pointer to the first occurrence of any character in * in the given or NULL if the contains no characters * in . ***** * YOU MAY *NOT* USE INTEGERS OR ARRAY INDEXING. ***** */ char *find_any_ptr(char *string, char* stop) { char *newstring = (char*)0; while(*stop != ‘\0’){ while(*string […]