Changeset 5184 in orxonox.OLD for trunk/src/lib/util
- Timestamp:
- Sep 15, 2005, 10:09:02 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/substring.cc
r5183 r5184 110 110 lastWasWhiteSpace = false; 111 111 } 112 113 112 this->splittersCount += 1; 114 113 115 printf("splitterCount = %d\n", this->splittersCount); 116 114 // allocate memory 117 115 this->strings = new char*[this->splittersCount]; 118 116 assert (strings != NULL); 119 117 118 // split the String into substrings 120 119 int l = 0; 121 120 unsigned int i = 0; … … 134 133 end += strspn(end, " \t\n"); 135 134 offset = end; 136 printf("'%s'\n", end);137 135 end = offset + strcspn(offset, " \t\n"); 138 136 }
Note: See TracChangeset
for help on using the changeset viewer.