vendredi 10 avril 2020

What’s the difference between "array<>" and “[]” when declaring a C++ array?

What's the real difference between declaring an array like this:

 array<int, 10> arr;

and

int arr[10];

Aucun commentaire:

Enregistrer un commentaire