Enum define
#1

Hey!
How to define number to word checking enum? Like if enum member is true so define bag is 30. But if false define bag will be just 20.
Thanks!
Reply
#2

dont understand the question
Reply
#3

write it correctly..!!
Reply
#4

If I understood correctly, initialize the variable as a boolean data type then you may use your if and else statement.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)