Board index » delphi » Array of char arrays
Neo
![]() Delphi Developer |
Thu, 14 Aug 2003 04:13:41 GMT
Array of char arrays
I am trying to read a file with data (date, sales ID, amount) like:
12/27/1999 156-67-9000 450.78 and put the 3 fields into arrays but the dates and the soc sec #s won't go Here is my code: #include <fstream.h> const int datemax=11; int main() ifstream infile("sales.dat"); for(int i=0;i<max;i++) transdate[i][datemax]=TempTransDate[datemax]); //here is the problem Quote} Neo |