can someone tell me how to read data out of a *.txt file?
my file 'names.txt' contains the following data:
i know how to read the whole data out of the file and print it out on the screen. but i am not sure how to read one single line with a randomizer function. *sigh* can you help me?Code:ACHERON APHRODITE APOLLON ARES ARTEMIS ATHENE BAKCHOS CHARITEN CHARON DEMETER DIONYSOS EOS ERINNYEN EROS HADES HELIOS HEPHAISTOS HERA HERMES HOREN IRIS KERBEROS PAN PERSEPHONE POSEIDON SATYRN STYX TETHIS ZEUS