Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

print 2d vector c++

	for(int i=0; i<v.size(); i++) 
		for(int j=0; j<v[i].size(); j++) 
  			cout<<v[i][j]<<" ";
        cout<<endl;
 
PREVIOUS NEXT
Tagged: #print #vector
ADD COMMENT
Topic
Name
2+1 =