How can i read file data into 2d vector ?thanks
What kind of "vector?" A standard template library vector<?>, or what?
uh you gotta create a vector or 2D memory allocation if your not using the STL-vector that chroot mentioned. Heh nice name chroot->>>BOO LINUX :rofl:
It also matters what this file contains (chars, ints, doubles, strings, ...), how it is formatted, and how much data it contains. For instance on a typical desktop PC you will not be able to read more than 2GB of ints into memory at once altough you will be able to hold the file on disk just fine.
Separate names with a comma.