Is it supposed to do this?

Posts 1–2 of 2 · Page 1 of 1
Is it supposed to do this?
Alright. I created a class with [php]enum dogBreed {Chihuahua, Lab, LhasaApso};[/php] And when i use the function [php]dog::GetBreed();[/php] it shows 2 in my program.
Is it because LhasaApso value is 2?
Yes.




.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us