Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
I don't get the question much but I'll assume the following would answer your question. That's quite simple, just include the container you want to use. For example: #include <array> #include <vector> // And so on based on what containers you would need. And as a sample of using them hmm... Assume you have a C-styled array int a[3] = {1, 2, 3}; If you're gonna make it in the C++ Array container it would be something like: array a<int, 3> = {1, 2, 3}; Take note it would make more sense to you if you know the Templates which is at the last part of the C++ Tutorial in SoloLearn.
22nd Sep 2020, 10:04 AM
Joseph Sambo II
Joseph Sambo II - avatar