Lol, no. I still get numbers only. I have to figure out the code to change numbers to words. I did it before with a different code, but that one didn't involve enums. It was two strings, an array and a float.
> Lol, no. I still get numbers only. I have to figure out the code to change numbers to words.
Then you use this : cout << "aStruct data: a = " << aStruct.a << " b = " << aStruct.b << " c = " << aStruct.c << " d (string) = " << MyEnumName[aStruct.d] << endl;
For your information : (MyEnumName) has not ever been used once.
OMG this is so frustrating. Ok so that code gives me the names that the code asks for but instead of getting a random animal it mixes up the order that i input the names.
Oh and good catch BTW, I'm so lost in this F'ing code I totally overlooked that.
No, it is still not giving me the proper output. I hate to keep bothering you though. I'll text a TA in the morning to get more help. Thanks for helping me this far though :)