I need to calculate col size of 2-D vector. I ma trying to calculate it using A.size(), but it’s not working
len(A) gives the number of objects in the list i.e., rows.
len(A) gives number of object in each row i,e., columns.
Exactly, why is size not working?
Go for this.
For row= A.size();
I used A.at(0).size(),
It worked for me!!