From 剑指Offer 何海涛 著
#include <iostream> #include <cstring> void replaceBlank(char *str, int length) { if(str != NULL && length > 0) { int numberOfBlank = 0; int originLength = 0; while(str[originLength] != '