cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
2 dimensional vector
2 dimensional vector
Mar 31, 2008 at 4:16am UTC
shotjase
(36)
hey i need help reading values into my vector here it is down below...
void readIn(vector < vector <int> > & v, int rows, int cols)
{
// pre : none
// post : reads values into v
}
Apr 2, 2008 at 1:54am UTC
buffbill
(467)
.............think
use v.push_back ([ ][ ]);
//inside a for loop
Topic archived. No new replies allowed.