Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2004
    Posts
    13

    Unanswered: recursively reverse a string

    Hi, anyone know how to use a recursive function to reverse a string, I don't want to printf the string, just store the stringin reverse order...Thanks.........

  2. #2
    Join Date
    Sep 2003
    Location
    Dallas
    Posts
    182

    In what programm or application?

    It all depends.

  3. #3
    Join Date
    Dec 2004
    Posts
    13
    In C language.... Thanks..............

  4. #4
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    I'd use the reverse() from string.h instead of trying to "roll my own" to do the same thing.

    -PatP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •