I'm thinking you don't quite understand what a string is in C...
C actually has no native string type and thus the compiler has absolutely no ability to deal with them. What we call "strings" in...
Type: Posts; User: CommonTater
I'm thinking you don't quite understand what a string is in C...
C actually has no native string type and thus the compiler has absolutely no ability to deal with them. What we call "strings" in...
void cropString(char* string2, char* string1,int n1,int n2){
if ( (n1<0) || (n2<0) || (n2<n1) || (n1>strlen(string1)) || (n2>strlen(string1)) )
{
printf("Invalid arguments...");
...