how to reverse a char[] without built in function

Unanswered how to reverse a char[] without built in function

  • Monday, January 28, 2013 5:46 AM
     
     

    Dear Friends,

    My requirement is as follows:

    1)write a method with 2 parameter-choice and input character array

    2)when choice is 0:

    *  reverse the input character array

    *  convert it into title case

    *  Display the output

    3)choice 1:

    *  Only reverse

    Please note that:

    1)I should not use any string built in function

    2)the input should not be a string but it should be char array, my whole operation is on character array only.

    Example:

    My Input is : 0,"Sriram Ravi"

    My output is : Ivar Marirs

    Pleas help.

    Regards

All Replies

  • Monday, January 28, 2013 5:32 PM
     
     
    Hi,

    As I have already mentioned on the other post, this forum is for discussion on application development based on HealthVault SDK. Please ask your question in a language specific forum (such as C++ or C#).

    Thanks
    Santhosh