I'm wondering about two things though. First, how do ya know how long the file is so you can select a random starting place; and secondly, what should I do if I hit the eof before I find a word of the correct length?# was thinking of something like this seek( some random place in the file or something ); <>; # to get to the beginning of the next line. while(something) { read words until one matches the description }
In reply to RandomFile by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |