practice 2-4:restart compile function squeeze(s1,s2),delete any match characters between string s1 and s2.
#include
#define MAXLINE 1000
void squeeze(char s1[],char s2[]);
void show(char s[]);
main()
{
}
void squeeze(char s1[],char s2[])
{
}
void show(char s[])
{
}
practice 2-5:write a function any(s1,s2),compare string s1 and s2,find out the position of any words of string s2 come out at the first time in the string s1,and take it as a result output,if none of those was found,return -1
#include
#define MAXLINE 100
int any(char s1[],char s2[]);
main()
{
}
int any(char s1[],char s2[])
{
}
practice 2-10 write a function lower(),transform capital letter into lowercase.use condition expression like ? : to compile.
#include
void lower(char c)
{
}
main()
{
}