Ask Experts Questions for FREE Help !
Ask
    shruthing's Avatar
    shruthing Posts: 2, Reputation: 1
    New Member
     
    #1

    Nov 3, 2008, 07:53 AM
    about the enumeration
    hi,
    can I use the special characters in the enumeration datatype.I know I can use the underscore but I'm not sure whether I can use the /,*,^ somethiing like can anyone tell me.
    if not why I can't use
    enum x
    {
    year_x/2,
    day_y/3
    };
    :rolleyes:
    shruthing's Avatar
    shruthing Posts: 2, Reputation: 1
    New Member
     
    #2

    Nov 3, 2008, 07:54 AM
    Quote Originally Posted by shruthing View Post
    hi,
    can i use the special characters in the enumeration datatype.i know i can use the underscore but i'm not sure whether i can use the /,*,^ somethiing like can anyone tell me.
    if not why i can't use
    enum x
    {
    year_x/2,
    day_y/3
    };
    :rolleyes:
    OK

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.



View more questions Search