Answer to Question #47372 in C++ for Eunsu Kim

Question #47372
#include "std_lib_facilities_4.h" int main() { vector<int> v = { 5, 7, 9, 4, 6, 8 }; for (int x:v) cout << x << '\n'; } when i compile this, i got these two error "Error 1 error C2440: 'initializing' : cannot convert from 'initializer-list' to 'Vector<std::string>' 2 IntelliSense: no instance of constructor "Vector<T>::Vector [with T=int]" matches the argument list argument types are: (int, int, int, int, int, int) what is wrong?
1
Expert's answer
2014-10-07T00:36:03-0400
The answer to the question is available in the PDF file https://www.assignmentexpert.com/homework-answers/programming-answer-47372.pdf

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal