| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
reading a 2D matrix from a file in C++
hi,
I need to read a file in format -1.06 0.19 -0.23 0.16 -0.08 0.06 0.08 0.04 0 -0.08 0.19 -0.02 0.05 0.13 0.69 0.03 -0.19 0.24 0.71 0 0.19 0.04 -0.42 -0.28 -0.2 -0.14 -0.67 -0.13 0.25 0.19 0.19 0.14 0.46 0.08 0.44 grabbing each element from the file as arr[i][j]. please help me...its urgent ! |
|
#2
|
|||
|
|||
|
I suggest searching the web for a tutorial or at least having a go at it yourself then asking specific questions since its highly unlikely anyone here will just do it for you.
-KM- |
|
#3
|
|||
|
|||
|
ya, check out the platform sdk docs for this too, you should learn how to use the web
before you post something up. aka google.com |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > reading a 2D matrix from a file in C++ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|