去掉空格-题解(C语言代码) 摘要: #include #include void delspace(char new1[]);//声明 int main() { cha…… 题解列表 2019年11月27日 0 点赞 0 评论 524 浏览 评分:0.0
去掉空格-题解(C语言代码) 摘要:```c #include #include void del(char *s ,int i) { int j; for( j=i;j…… 题解列表 2019年11月27日 0 点赞 0 评论 592 浏览 评分:0.0
去掉空格-题解(C语言代码) 摘要:```c #include #include int main() { char str[80]; while(gets(str)) { int i,n…… 题解列表 2019年12月11日 0 点赞 0 评论 642 浏览 评分:0.0
去掉空格-题解(C语言代码) 摘要:# 真·初学者 # #include int main() { char x[80][80]; char c; int i = 0, j = 0, m = 0…… 题解列表 2019年12月13日 0 点赞 0 评论 454 浏览 评分:0.0
去掉空格-题解(C++代码) 简单粗暴硬解法 摘要:#include #include using namespace std; int main() { char a[1000]; char b[1000]; i…… 题解列表 2020年02月03日 0 点赞 0 评论 519 浏览 评分:0.0
去掉空格-题解(C++代码)(简单) 摘要: char str[1000]; while(!cin.getline(str,1000).eof()) { for(int i=0; i…… 题解列表 2020年02月14日 0 点赞 0 评论 497 浏览 评分:0.0
去掉空格-题解(C语言代码) 摘要: 首先输入一个不超过80个字符的字符串,然后判断是否有空格有空格,就去掉。输出字符串,注意是字符串,如果输入'End of file'就结束,完了。 代码: #include …… 题解列表 2020年03月14日 0 点赞 0 评论 576 浏览 评分:0.0
去掉空格-题解(C语言代码) 摘要:#include "stdafx.h" #include void Delspace(char a[]) { int i,j; char b[80][80]; for(j=0;j…… 题解列表 2020年04月13日 0 点赞 0 评论 419 浏览 评分:0.0
去掉空格-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> #include<string> #include <v…… 题解列表 2020年07月02日 0 点赞 0 评论 581 浏览 评分:0.0
去掉空格-题解(C语言代码) 摘要:事实上这道题仍然不需要使用字符串,使用getchar逐个读入然后遇到空格就删去,最后使用putchar输出就可以了。这样应该比目前的优质题解简单不少吧。 ```c # include in…… 题解列表 2020年07月07日 0 点赞 0 评论 391 浏览 评分:0.0