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

Username:   Password: 
 RegisterRegister   
 File Reader!- Help!!
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Shivu




PostPosted: Sat Jun 14, 2008 12:09 am   Post subject: File Reader!- Help!!

HI

i have some problems understanding file reader and biffer reader, meaning how does the thing read the line (or does it read each character separately- i don't even know this) does it read it as a char, a s tring an int...

so i have to answer a question regarding this topic and i don't know how to implement it.

If one could please help me in this regard, that'd be great Smile

here is the question:
In the text file ?data.txt?, the first line contains an integer which indicates the number of lines that follow. You program should read each one of these lines and then output on the screen the one with the longest length.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: