Forward declarations not legal in C++/CLI?
In Ex2_13, it shows of forward enum declaration at the top of page 112. When I compile this program in Visual Studio 2010 it gives me the following error message. (I entered the program manually).
--
CEx2_13.cpp(7): error C2599: 'Suit' : forward declaration of enum type is not allowed
--
Any ideas on how I can fix this will be appreciated. Thanks.
golfer43
|