![]() |
| ||
| Re: file processing, Random-access Files hi!...this my code,,,and i knew there"s something wrong with it,,,or maybe something is lacking..would you mind to help me?...i need a very quick response..thanks....Godbless you... import java.io.*; public class Samplefile { public static void main(String args[]) { File fob1 = new File("dede.txt"); RandomAccessFile rob1 = new RandomAccessFile("Hector.txt","rw"); if exists("dede.txt") { System.out.print("meon"); } } } |
| ||
| Re: File processing, Random-access Files And what exactly is your question? All I see is a few unrelated actions. |
| ||
| Re: File processing, Random-access Files nothing wrong with that code, purely going on syntax and grammar... Of course depending on what you want to achieve there's a lot MISSING from it as it doesn't do much of anything. |
| All times are GMT -4. The time now is 11:50 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC