How can you create a 2D array,say, arr[][] with 5 rows and each row has a variable number of columns in it?
possibly arr[5][]
with 1st row arr[0][] with 4 columns
2nd row arr[1][] with 5 columns and so on?
I wouldn't mind a STL vector solution but I don't know vectors very well yet.