Re: Problems reversing strings

From: Francis Glassborow (francis_at_robinton.demon.co.uk)
Date: 09/08/04

  • Next message: Tabrez Iqbal: "Re: C++ n00b"
    Date: Wed, 8 Sep 2004 08:07:19 +0100
    
    

    In article <kOadnTQaYKFU26PcRVn-rw@comcast.com>, Mike Tyndall
    <Mike_Tyndall_1@hotmail.com> writes
    >Gotcha. Now that I understand that those don't matter, that's an extremely
    >efficient way of reversing the string! I didn't know that there was a
    >std::reverse() function.

    Actually a great number of the little tasks so beloved by instructors of
    programming have very simple solutions when using the C++ Standard
    Library.

    -- 
    Francis Glassborow      ACCU
    Author of 'You Can Do It!' see http://www.spellen.org/youcandoit
    For project ideas and contributions: http://www.spellen.org/youcandoit/projects
    

  • Next message: Tabrez Iqbal: "Re: C++ n00b"

    Relevant Pages

    • Re: Problems reversing strings
      ... > Gotcha. ... Now that I understand that those don't matter, ... > efficient way of reversing the string! ...
      (alt.comp.lang.learn.c-cpp)
    • Re: Can I reset a password or remove a username?
      ... it appears I must know the password answer to reset the ... passwordAnswer As String _ ... If you, as an admin, need to do this, Code against the Membership ... One gotcha. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: What makes a good player?
      ... I never got the thing up to a volume that really let the whole amp do ... That Fender didn't help my playing at all. ... No matter which guitar I use, it's a matter of mostly my playing.. ... The guys strat with each string at a weird height to make up for the ...
      (alt.guitar.beginner)
    • Why strings are required to halt collapse (was: black holes and singularities)
      ... Which is why I resist the idea of matter confined to a thin ... > spherical shell, and think only of a radiation shell. ... I have been very skeptical of string theory, ... radiation] at radial position r and proper radial extension dl. ...
      (sci.physics.relativity)
    • Recursion
      ... problem with reversing the lines using recursion. ... FileOutputStream fos; ... InputStreamReader isr; ... public static String reversethrows IOException{ ...
      (comp.lang.java.help)