Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. int main(void)
  5. {
  6. std::vector<std::vector<double>> v = {
  7. { 1, 2, 3 },
  8. { 1, 2, 3 },
  9. { 1, 2, 3 },
  10. { 1, 2, 3 },
  11. { 1, 2, 3 },
  12. { 1, 2, 3 },
  13. { 1, 2, 3 },
  14. { 1, 2, 3 },
  15. { 1, 2, 3 },
  16. { 1, 2, 3 },
  17. { 1, 2, 3 },
  18. { 1, 2, 3 },
  19. { 1, 2, 3 },
  20. { 1, 2, 3 },
  21. { 1, 2, 3 },
  22.  
  23. };
  24.  
  25. for (const auto& row : v) {
  26. for (const auto& s : row) {
  27. std::cout << s << " ";
  28. }
  29. std::cout << std::endl;
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement