I have worked on this for a while. It works when I put it in the main() function, but never in classes. Why? Any help sure is appreciated!Code:#ifndef _RMC_H #define _RMC_H #include <cstdio> #include <string> #include <vector> class RMC { std::vector <std::string> rules; rules.push_back("This is a string"); }; #endif /* _RMC_H */


Reply With Quote


Bookmarks