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

Username:   Password: 
 RegisterRegister   
 Sequential Access Data Files in java
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
bryce_21




PostPosted: Fri Mar 28, 2014 11:25 pm   Post subject: Sequential Access Data Files in java

what is a function/ or method to search for all records containing 301-731-xxxx phone number from the input file (inrecords.dat)


INT 2200 PROJECT #3U(1).pdf
 Description:

Download
 Filename:  INT 2200 PROJECT #3U(1).pdf
 Filesize:  59.1 KB
 Downloaded:  185 Time(s)


INT 2200 PROJECT #3U(1).pdf
 Description:

Download
 Filename:  INT 2200 PROJECT #3U(1).pdf
 Filesize:  59.1 KB
 Downloaded:  277 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
DemonWasp




PostPosted: Sat Mar 29, 2014 2:07 am   Post subject: RE:Sequential Access Data Files in java

There's no single function that will do that for you. You will have to iterate over all records in the file and figure out whether they match that pattern or not.

What have you tried so far, and what have you gotten stuck on?
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  [ 2 Posts ]
Jump to:   


Style:  
Search: