C语言向字符串中插入字符串

#include "stdio.h"
#include "string.h"
int getType(char ch)
{
	int type=-1;
	if(ch>='A'&&ch<='Z')
	{
		type=1;	
	}
	else if(ch>='a'&&ch<='z')
	{
		type=2;	
	}
	else if(ch>='0'&&ch<='9')
	{
		type=3;
	}
	return type;
}
void main()
{
	int i,c,len,j;
	char str[100],ch;
	gets(str);
	len=strlen(str);
	for(i=0;i
   

版权声明:本文为u012784277原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。