From: jb AT netcom DOT ca Newsgroups: comp.os.msdos.djgpp Subject: Using data from file, line by line using C? Date: Tue, 28 Oct 1997 23:19:48 -0500 Organization: NETCOM Canada Lines: 32 Message-ID: <3456B963.84A8AA0D@netcom.ca> NNTP-Posting-Host: trt-on8-41.netcom.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 28 Oct 1997 23:25:50 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I was wondering if anyone knows what kind of code is required to do the following. e.g. You have a file in the home directory of the program with customers' names. (one name per line) You want the program to bring up each persons' name one by one, and give the option to write the persons' name with a variable to a file, say maybe into chart form. So that the output would be something like this: Name 1| Variable 1 Name 2| Variable 2 Name 3| Variable 3 Name 4| Variable 4 Name 5| Variable 5 Name 6| Variable 6 .... and next time you run the program and it brings up the name, you want it to tack on another column to the chart, with a different variable. if ANYONE knows how to do this, it would be [[[[[GREATLY]]]]] appreciated, ciao, JB-