Is an array possible to store int, string and float all at the same time? I have been seeing some array syntax but all starts with int array[] or string array[], is there a way which a array can store all kind of primitive and string values?
Im not very familiar with C++ but in java there is a iterator which can help you roll those stored values out and allow you to display what is stored in there. Does C++ also have this feature?
std::vectoris more idiomatic (and maintainable) than using arrays.