fork(1) download
  1. #include <iostream>
  2. #include <string>
  3. #include <map>
  4.  
  5. using namespace std;
  6.  
  7. enum state {A,B,C};
  8.  
  9. class imageTexture {
  10. public:
  11. imageTexture(std::string path) {};
  12. };
  13.  
  14. int main() {
  15. std::map<state, imageTexture*> theMap;
  16. theMap[A] = new imageTexture("a");
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
Standard output is empty