All pastes #97044 Raw Edit

Someone

public text v1 · immutable
#97044 ·published 2006-07-23 10:26 UTC
rendered paste body
#include <vector>
#include <iostream>


struct S { int m; };  

int main()
  {
	  std::vector<std::vector<S>> v;
	  S s; 
	  s.m = 10;

	  std::vector<S> v2;
	  v.push_back(v2);
	  v[0].push_back(s);
	  
	  std::cout << v[0][0].m;  
	  std::cin.get();
      
     return 0 ;
  }