www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/01/08:46:25

From: "godsofmetal" <godsofmetal AT tiscalinet DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: Acquiring data from files
Date: Sat, 1 Jul 2000 14:26:42 +0200
Organization: Tiscali Spa
Lines: 19
Message-ID: <8jko0m$qrb$1@pegasus.tiscalinet.it>
NNTP-Posting-Host: mi2-728.dialup.tiscalinet.it
X-Trace: pegasus.tiscalinet.it 962454358 27499 62.11.58.24 (1 Jul 2000 12:25:58 GMT)
X-Complaints-To: newsadmin AT tiscali DOT it
NNTP-Posting-Date: 1 Jul 2000 12:25:58 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Does anybody know how to acquire data from a file and how to store them in
arrays.
For istance, suppose we got two columns of data in a file *.* :

COL1        COL2

Mike          24
George     12
Felipe        67
Timo          36
Mika          29

Is it possible to put the content of each col. in a string and in an array?

Thanks




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019