fork(1) download
  1. #include <vector>
  2.  
  3. class classBackground {
  4. std::vector<int> rect;
  5. public:
  6. classBackground() {
  7. rect.resize(4);
  8. rect[0] = 1;
  9. rect[1] = 2;
  10. rect[2] = 3;
  11. rect[3] = 4;
  12. }
  13. };
  14.  
  15. int main() {
  16. classBackground cb;
  17. // there, it worked.
  18. }
Success #stdin #stdout 0s 3408KB
stdin
Standard input is empty
stdout
Standard output is empty