JZ-C-35

剑指offer第三十五题:第一个只出现一次的字符

 1 //============================================================================
 2 // Name        : JZ-C-35.cpp
 3 // Author      : Laughing_Lz
 4 // Version     :
 5 // Copyright   : All Right Reserved
 6 // Description : 第一个只出现一次的字符
 7 //============================================================================
 8 
 9 #include <iostream>
10 #include <stdio.h>
11 #include <string>
12 using namespace std;
13 
14 char FirstNotRepeatingChar(char* pString)
15 {
16     if(pString == NULL)
17         return '