Changeset 1475 for trunk/gsinstaller/stringArray.cpp
- Timestamp:
- 2000-08-31T00:42:59+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/stringArray.cpp
r1397 r1475 50 50 for (int i = 0; i < other.size(); i ++) 51 51 { this->add(other[i]); 52 } 53 } 54 55 /** 56 * Insert a string at a given location 57 */ 58 void stringArray::insertAt(string s, unsigned int at) 59 { if (at >= this->size()) 60 { this->add(s); 61 } 62 else 63 { this->array.insert(this->array.begin() + at, s); 52 64 } 53 65 }
Note:
See TracChangeset
for help on using the changeset viewer.