Search:

Type: Posts; User: tabstop

Search: Search took 0.07 seconds.

  1. Replies
    9
    Views
    4,055

    Also to keep in mind: usual custom, especially...

    Also to keep in mind: usual custom, especially with iterators, is for the second iterator to not be included in the range (e.g., begin() points in the string, end() points one-past-the-end). So...
  2. Replies
    9
    Views
    4,055

    substr does not take iterators. string has a...

    substr does not take iterators. string has a constructor that takes iterators, plus you have all the stuff in <algorithm>, like copy.

    (EDIT: Looks like I read it backwards. If you have indices...
Results 1 to 2 of 2