fork(2) download
  1. #include <iostream>
  2.  
  3. struct blockColor{
  4. int r;
  5. int g;
  6. int b;
  7. blockColor()
  8. {
  9. r = 0;
  10. g = 0;
  11. b = 0;
  12. };
  13.  
  14. blockColor(int r, int g, int b)
  15. {
  16. this->r = r;
  17. this->g = g;
  18. this->b = b;
  19. };
  20. };
  21.  
  22.  
  23. int main()
  24. {
  25. blockColor brickColorMap[2][2] =
  26. {
  27. {{54, 54, 54}, {55, 55, 55}},
  28. {{56, 56, 56}, {57, 57, 57}},
  29. };
  30. return 0;
  31. }
  32.  
  33.  
Success #stdin #stdout 0s 3136KB
stdin
Standard input is empty
stdout
Standard output is empty