C++编程 主函数已给出 编写子函数

[复制链接]
查看11 | 回复2 | 2013-5-12 02:12:11 | 显示全部楼层 |阅读模式
你提供的包含文件和main代码都不是C++格式的……#include "stdio.h"//#include "ctype.h"//#include "string.h"//#include "stdlib.h"//void movec(char str[]){
int i,j;
for(i=j=0;*(str+i);i++)
if((*(str+i)&0xDF)>64 && (*(str+i)&0xDF)<91)
str[j++]=str;
*(str+j)='\0';}void ispard(char str[][100],int ...
回复

使用道具 举报

千问 | 2013-5-12 02:12:11 | 显示全部楼层
void movec(char str[]){
char *fast=str;
char *slow=str;
while(*fast!='\0')
{
if((('a'<=*fast)&&(*fast<='z'))||(('A'<=*fast)&&(*fast<='Z')))
{
*...
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行