Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- int main(void)
- {
- std::vector<std::vector<double>> v = {
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- { 1, 2, 3 },
- };
- for (const auto& row : v) {
- for (const auto& s : row) {
- std::cout << s << " ";
- }
- std::cout << std::endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement