#include
#include

char * deblank(char * str)
{
    char * left = str;//前面的指针,负责赋值
    char * right = str;//后面寻找非空格字符的指针

    while (*right)//截至字符串完
    {
        if (*right != ' ')
        {
            if (left