Search:

Type: Posts; User: CommonTater

Search: Search took 0.05 seconds.

  1. Replies
    6
    Views
    1,781

    I'm thinking you don't quite understand what a...

    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...
  2. Replies
    6
    Views
    1,781

    void cropString(char* string2, char* string1,int...

    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...");
    ...
Results 1 to 2 of 2