// ====================测试代码====================
void Test(const char* pString, char expected)
{
    if(FirstNotRepeatingChar(pString) == expected)
        printf("Test passed.\n");
    else
        printf("Test failed.\n");
}
int main(){
	char str[] = "abbbccaefaf";
	printf("%c\n",FirstNotRepeatingChar(str));
	return 0;
}
Ejemplo n.º 3
0
int main(void) {
	char* string1[] = "aabccdeffegghijii";
	FirstNotRepeatingChar(string1);
}