hmmm...
you want me do something like the following:
class MyChar
{
private:
char m_SomeChar;
public:
//All the possible character manipulation functions
};
class MyClass : public MyChar
{
};
.......
Brett W. McCoy wrote:
> On 07 Apr 2007 05:08:51 -0700, Knowledge Seeker
> <[EMAIL PROTECTED]> wrote:
>
>
>> Can we derive from basic data type ??
>>
>> something like,
>>
>> class MyClass : public char
>> {
>> };
>>
>> (I might sound dumb !!, but sometimes even coffee doesn't kicks in ;) )
>>
>
> Nope. You'd need to create a wrapper class to do that.
>
> -- Brett
> ------------------------------------------------------------
> "In the rhythm of music a secret is hidden;
> If I were to divulge it, it would overturn the world."
> -- Jelaleddin Rumi
>
>