Guest User

Untitled

a guest
Nov 28th, 2012
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. void AsciiString :: Append(const AsciiString& other)
  2. {
  3. int otherLength = 0;
  4.  
  5. for (int i = 0; &other; i++)
  6. {
  7. string [length + i] = other [i];
  8. if (other [i])
  9. otherLength++;
  10. }
  11. length += otherLength;
  12. string [length + 1] = NULL;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment