TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: NUNO FILIPE
date: 1997-08-31 11:36:00
subject: help

Hello! ;)
I need some help here... :)
In c++, how can i read a file of several lines, for an array, being every 
line of the file, copied for a diferent array "y" position?
For example, the file "txt.txt", with the text:
Hello World
All World
should be copied of the folloing way to the array, array[10][10]:
                                                         yy  xx
   yy
xx   0 1 2 3 4 5 6 7 8 9 10
   0 H e l l o   W o r l d
   1 A l l   W o r l d
   2
   3
   4
 I need some help fast... :) Thanks
--- FMail/Win32 1.22
(2:361/46)
---------------
* Origin: Files 'R' Us BBS * Esmoriz * 056-754530 * 22h/8h * 33.600

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.