2d array loaded from text file

2d array loaded from text file

Page 1 of 1

1 Replies - 3020 Views - Last Post: 30 November 2008 - 11:48 PM Rate Topic: -----

#1 asianbitch  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 30-November 08

2d array loaded from text file

Post icon  Posted 30 November 2008 - 10:06 PM

basicly i need to load a 2d array from a text file
the text file contains numbers and names separated by a semicolon
one name and number per line.

1:John Smith
2:Joe Shmoe

so i really need the code that loads file text.txt into a 2d array
and than tell it to use the semi-colon to seperate it.
it's due in 2 days and i'm really stuck so far all i managed to do was load
a 1 dimensional array by reading the text file line by line.

god help me!!! it's due in 2 days ...and it's really not all i have to do.

Is This A Good Question/Topic? 0
  • +

Replies To: 2d array loaded from text file

#2 n8wxs  Icon User is offline

  • --... ...-- -.. . -. ---.. .-- -..- ...
  • member icon

Reputation: 972
  • View blog
  • Posts: 3,878
  • Joined: 07-January 08

Re: 2d array loaded from text file

Posted 30 November 2008 - 11:48 PM

Welcome!

Please post your code using - :code:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1