Re: [algogeeks] Re: STRING help

2011-09-30 Thread rahul sharma
so reverse fun for ci.e user defines fxn will able to reverse c and c++ strings On Fri, Sep 30, 2011 at 3:07 PM, UTKARSH SRIVASTAV wrote: > NOC++ has only one additional data type that is bool.Rest everything > is designed as a class. > The c++ string is actually a class with overloaded

Re: [algogeeks] Re: STRING help

2011-09-30 Thread UTKARSH SRIVASTAV
NOC++ has only one additional data type that is bool.Rest everything is designed as a class. The c++ string is actually a class with overloaded operators.. On Fri, Sep 30, 2011 at 2:30 AM, Mohan Varma wrote: > There's no data type called string in C. Strings are represented as > plain c

[algogeeks] Re: STRING help

2011-09-30 Thread Mohan Varma
There's no data type called string in C. Strings are represented as plain char arrays with a null character '\0' at the end.All the string functions like strlen() rely upon this convention. I'm not much familiar to C++, but C++ has a string data type. On Sep 30, 10:27 am, rahul sharma wrote: > w