I have an array of pairs. I want to use memset on this array to make 0, 1 or -1. How can I do it? Is it normal procedure as we do always?
The pair and array is:
std::pair<int, int> ar[100][100];
I have an array of pairs. I want to use memset on this array to make 0, 1 or -1. How can I do it? Is it normal procedure as we do always?
The pair and array is:
std::pair<int, int> ar[100][100];