Date: Wed, 11 Jun 1997 15:22:20 -0700 (PDT) From: Jeff James To: djgpp AT delorie DOT com Subject: writing a program that reads .txt files Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk I have recently downloaded a copy of djgpp v2.01 and have been using it with the rhide IDE. I have learned how to write and compile basic programs but have been working for 3 days on getting my programs to read .txt files from a dos diretory. The things that I have been trying to accomplish are: 1. Open a text file i.e test.txt 2. store each line of the text file into a separate string. 3. display the strings in stdout. and 4. Pause stdout before scrolling of the screen begins. 5. close test file. As I have said, I've spend a considerable amount of time both trying different lib functions and reading your documentation. Any help in accomplishing these task would be greatly apreciated. Jeffrey L. James, jamesj AT wsu DOT edu