Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

the statement vector vector int matrix(100 vector int (50 100) ) declares

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.
 
PREVIOUS NEXT
Tagged: #statement #vector #vector #int #vector #int #declares
ADD COMMENT
Topic
Name
1+5 =