Check out example codes for "the statement vector vector int matrix(100 vector int (50 100) ) declares". It will help you in understanding the concepts better.

Code Example 1

vector < int > (50, 100) declares a vector X of type int with 50 elements each initialized to 100 and matrix consists of 100 vectors of type int each equal to X. The web browser is considering the < int > without spaces between < and int and > as some HTML tag.

Learn ReactJs, React Native from akashmittal.com