When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
6 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
This code worked fine . when all was in just the main.cpp. In attempt to seperate some of the functionality I am getting errors. Can I have a switch statement inside a class ?
not directly in the class, but you can have a switch statement in a function inside of the class
that being said, I'm not sure why this is a class in the first place