public class sample
{
     const int a;

    sample(int constValue):a(constvalue)
    {

    }

};

On Sun, Jul 11, 2010 at 8:17 AM, UMESH KUMAR <[email protected]>wrote:

> Hello everybody
>
>   how to Assign Constant value in Class of C++
>    Describe : Private,Protected, and Public Area in C++.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Regards,

VARUN BHATIA

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to