Open Mirixy17 opened 3 years ago
#include <iostream> #include <Windows.h> #include <chrono> #include <thread> #include <vector> int main() { std::vector<std::vector<char>> igra; igra.resize(5); for (std::vector<char>& red : igra) for (int i = 0; i < 20; i++) red.push_back('_'); for (std::vector<char>& red : igra) { std::cout << '\n'; for (char slovo : red) { std::cout << slovo; } } }