delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/07/01:30:36

From: "Matt Kris" <jdkris AT NOPOOPalpha DOT delta DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Randon Function
Date: Sat, 7 Feb 1998 01:03:30 -0500
Organization: Delta College
Lines: 10
Message-ID: <6bgtsb$h8o@alpha.delta.edu>
NNTP-Posting-Host: pm182-07.dialip.mich.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I need to make a function that will open a text file that contains a list of
100 words and take a randon word and store it in  an array.  I made a
function that will open the file and read the first word but I don't know
how to read the other lines.  Is there a way to move through files like
that?  Please help.


MaTT KRiS


- Raw text -


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