12 years, 7 months ago
Highlights
Community contributions featuredYes, with your provided code, especially the 2nd small snippet, it does look like he's expecting a static final int instead of an enum.
12 years, 7 months ago
12 years, 7 months ago
I have a program I'm working on and it requires that there be multiple structures that hold the same data but are all slightly different. All the code to process the data wi…
14 years, 10 months ago
I know that if I create a template class, I need to include the member function definitions inside the .h file as well but I was wondering if I need to define ALL member functio…
14 years, 10 months ago
I was curious about passing parameters by reference vs. and which is a better choice; then I was wondering if there is even a difference. So I did some testing and optimizations…
14 years, 10 months ago
Latest Activity
See all in DiscussionsYes, with your provided code, especially the 2nd small snippet, it does look like he's expecting a static final int …
12 years, 7 months ago
Now that I'm thinking... If that is exactly the line of code, it can't be an enum, you can't instantiate …
12 years, 7 months ago
It's most definitely not an enum. The class being instantiated is Cards and it's passing Cards.CLUBS with no namespace. Try …
12 years, 7 months ago