So I have been looking at the following post for converting a vector into an array but this method does not seem to be converting for my use case.
How to convert vector to array
vector<int[256]> table; // is my table that I want to convert
// There is then code in the middle that will fill it
int** convert = &table[0][0] // is the first method that I attempted
convert = table.data(); // is the other method to convert that doesn't work
I belive my understanding of the back end of the data type is where my knowledge falls short. Any help on this would be appreciated
Aucun commentaire:
Enregistrer un commentaire