Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help with Input TEXT from .txt
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
qwertkeysrule




PostPosted: Mon Jan 15, 2007 11:23 am   Post subject: Help with Input TEXT from .txt

So i have read and searched forever on here for help with getting text(questions,answers) into my quiz but nothing has come through. I don't know how i can "get" the information from the text file into my questions using an array. I need the help quickly before it's due. thanks for help in advance. All i have been able to do is input one word which is nowhere close to what iI need. Confused
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Mon Jan 15, 2007 1:54 pm   Post subject: RE:Help with Input TEXT from .txt

Have you checked out the Turing Walkthrough? It's got a link to the File I/O tutorial.

Just loop through each line of the file. Shouldn't be too hard, right?

If you still can't get it, what code have you got so far?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: