删除多余空格问题 1234567891011121314151617181920212223242526272829303132333435363738394041 #include<iostream>using namespace std;void (char string[]){ char *p = string; int j = 0; while(*p == ' ')//起始空格的处理,删除所有起始空格 { p++; } while(*p != ' 赞微海报分享
近期评论