No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Greatly sorry [to you] & happy [to me] to say that I am "Introvert". Loneliness created by myself makes me happy & comfortable [as usual case] but loneliness made by others makes me cry [rare case].
1 Posted Topic
I want to Delete every occurrences of Pattern in String. But What's the problem? Please help with the following C Code. #include<stdio.h> #include<string.h> #include<stdlib.h> char* SUBSTRING(char *STRING,int POSITION,int LENGTH); main() { char STRING[100],PATTERN[90]; int X,P; printf("(Input)Enter string & pattern with space between them: "); scanf("%s%s",STRING,PATTERN); X=INDEX(STRING,PATTERN); P=strlen(PATTERN); printf("Output: %d\n",X); while(X!=0) … |
The End.