
-----------------------------------
Velocity
Thu Nov 24, 2011 4:32 pm

random array generate
-----------------------------------
how do i make my array read words from a txt file? im making a hangman game and i need to have the array read a random word from a txt file that i have created, but how would i import that file into the program and make it randomly generate it? +bits to helper

-----------------------------------
Aange10
Thu Nov 24, 2011 4:48 pm

RE:random array generate
-----------------------------------
You forgot the part where you tell us the problem, what you've tried and show us some code.

-----------------------------------
Raknarg
Thu Nov 24, 2011 4:49 pm

RE:random array generate
-----------------------------------
As a matter of fact, there is an entire section dealing with file reading here: http://compsci.ca/v3/viewtopic.php?t=12972

-----------------------------------
Insectoid
Thu Nov 24, 2011 5:41 pm

RE:random array generate
-----------------------------------
You already asked this question in [url=http://compsci.ca/v3/viewtopic.php?p=247593#247593]this thread. No need to make another!

-----------------------------------
Velocity
Mon Nov 28, 2011 8:20 am

RE:random array generate
-----------------------------------
thanks alot guys :)
