C程序语言改错

[复制链接]
查看11 | 回复2 | 2012-6-11 09:11:00 | 显示全部楼层 |阅读模式
char str[20],*c;这里c不用指针,直接定义一个字符变量就可以子函数给你个思路吧,直接赋值给新的字符串后,在拷贝回去就可以void adjust(char str[],int len){int i=0,j=0,k;char c,b[1000];while(str)
if(str>='A')
b[j++]=str; i=0; while(str)
if(str#include void adjust(char *,int);int main(int argc,char **argv){
char str[20];
int len;
gets(str);
len=strlen(str);
adj...
回复

使用道具 举报

千问 | 2012-6-11 09:11:00 | 显示全部楼层
//仅供参考 1 #include 2 #include 3 #include 4 #define NUMBER 105 char *handle(char *str)6 {7
char *letter;8
char *n...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行