SyntaxFix
Write A Post
Hire A Developer
Questions
You don't need initialization lists for that:
std::vector<int> vector1(length, 0); std::vector<double> vector2(length, 0.0);