Advertisement
PikMike

Untitled

Sep 25th, 2016
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. struct test{
  2.     int a, b;
  3. };
  4.  
  5. vector<test> z;
  6.  
  7. struct test{
  8.     int a, b;
  9.     test(){
  10.         a = z[0].a;
  11.         b = z[0].b;
  12.     }
  13. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement