fork download
  1. #include <iostream>
  2. #include <vector>
  3. #include <array>
  4.  
  5. int main()
  6. {
  7.  
  8. std::vector<std::array<char, 10> > vec_clang
  9. {
  10. { 'a','b','c','d','e','f','g','h','i','\0' },
  11. { 'a','b','c','d','e','f','g','h','i','\0' }
  12. };
  13.  
  14. std::cout << vec_clang[1][1] << std::endl;
  15. }
Success #stdin #stdout 0s 4452KB
stdin
Standard input is empty
stdout
b