字符串中间和后边*号删除-题解(C语言代码) 摘要:#include #include int fun(char *a) { char b[100]; int…… 题解列表 2020年03月13日 0 点赞 0 评论 540 浏览 评分:0.0
字符串中间和后边*号删除 摘要:解题思路:注意事项:参考代码:#include<string.h>#include<stdio.h> int fun(ch…… 题解列表 2025年04月10日 0 点赞 0 评论 32 浏览 评分:0.0
字符串中间和后边*号删除(用指针狠狠调试) 摘要:参考代码: ```c #include #include int fun(char *a) { while(*a=='*')//遍历过前导*,不做处理 { …… 题解列表 2023年11月26日 0 点赞 0 评论 135 浏览 评分:0.0
字符串中间和后边*号删除 摘要:解题思路:注意事项:参考代码:#include<string.h>#include<stdio.h> int fun(char *a) { int i…… 题解列表 2022年06月24日 0 点赞 0 评论 194 浏览 评分:0.0
1847: 字符串中间和后边*号删除 摘要:解题思路:定义一个数组,用while循环把a[i]=*的保存在b数组中。再用个while循环把a数组剩下的不等于*的保存在b数组中,再用个while循环把,b数组赋值给a数组。注意事项:数组最后要加\…… 题解列表 2021年09月14日 0 点赞 0 评论 143 浏览 评分:0.0
1847: 字符串中间和后边*号删除(C语言,双指针) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int fun(char *a) { char *p = a; while (*p == '*…… 题解列表 2021年06月11日 0 点赞 0 评论 175 浏览 评分:0.0
如何删除字符之间的* 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char *fun(char a[],char b[]);int main(){ char …… 题解列表 2021年03月28日 0 点赞 0 评论 208 浏览 评分:0.0
字符串中间和后边*号删除-题解(C语言代码) 摘要: 代码: #include #include int fun(char *a) { int i=0; int w=1; i…… 题解列表 2020年03月16日 0 点赞 0 评论 473 浏览 评分:0.0
字符串中间和后边*号删除 (C语言代码) 摘要:解题思路:提交是错的注意事项:自己电脑上是对的,帮忙看看参考代码:#include <string.h>#include<stdio.h>void fun(char *a){ int i,j,n,x=…… 题解列表 2018年05月29日 0 点赞 0 评论 540 浏览 评分:0.0
字符串中间和后边*号删除-题解(C语言代码) 摘要://由于题目的失误,所以要去掉题目的printf语句才会正确 #include void fun(char *a) { char b[99]; int i,m; for(i=0;a[…… 题解列表 2019年06月06日 0 点赞 0 评论 826 浏览 评分:0.0