[Solved] Can I create a loop which fills 100 arrays with six random numbers [closed]
If you want to have a random number of arrays you have to store them in a resizable container like a vector, containing the arrays with the six elements. Resize this vector with this random number and then iterate through it and add random numbers #include <array> #include <random> namespace { constexpr auto NumberOfArrayElements = … Read more