Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5184 in orxonox.OLD for trunk/src/lib/util/substring.cc


Ignore:
Timestamp:
Sep 15, 2005, 10:09:02 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: simple ClassCompletion… had to sleep about it… now i've got to learn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/substring.cc

    r5183 r5184  
    110110      lastWasWhiteSpace = false;
    111111    }
    112 
    113112  this->splittersCount += 1;
    114113
    115   printf("splitterCount = %d\n", this->splittersCount);
    116 
     114  // allocate memory
    117115  this->strings = new char*[this->splittersCount];
    118116  assert (strings != NULL);
    119117
     118  // split the String into substrings
    120119  int l = 0;
    121120  unsigned int i = 0;
     
    134133      end += strspn(end, " \t\n");
    135134      offset = end;
    136       printf("'%s'\n", end);
    137135      end = offset + strcspn(offset, " \t\n");
    138136    }
Note: See TracChangeset for help on using the changeset viewer.