fork(6) download
  1. #include <vector>
  2. #include <iostream>
  3. using namespace std;
  4.  
  5. struct vec2i{int x;int y;};
  6. struct t_quad{vec2i pos;vec2i size;};
  7.  
  8. int main() {
  9. vector<t_quad> arr;
  10. arr.emplace_back();
  11. cout<<arr.size();
  12. return 0;
  13. }
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
1