链表问题,可选语言c/ c++
											在一个字符串中找到第一个只出现一次的字符。如输入abaccdeff,则输出b。
				
											#include <stdio.h>
main()
{
    char c[128]={0}, *s="abaccdeff";
    for (; *s; ++s) ++c[*s];
    int i;
    for (i=0; i<128&&c[i]!=1; ++i) NULL;
    if (i < 128)
        printf("%c\n", i);
}
										
					
	
	
	
	      


 
											





 
	    

 
	
 
											



 ~
~