Boost::Spirit struggle with parsing a String
问题 I'm trying to Parse a String with Boost::Spirit, but i just cannot get it to work. I have no experience with Boost::Spirit since today. The string is composed of commands separated by an ';'. The commands are "INC someInteger" "BOMB firstInteger secondInteger" "MOVE firstInteger secondInteger thirdInteger" "MSG someString" "WAIT" I Managed to get this far: #include <boost/spirit/include/qi.hpp> #include <boost/phoenix/phoenix.hpp> using namespace boost::spirit; int main() { std::string