Search:

Type: Posts; User: rrahulvverma

Search: Search took 0.37 seconds.

  1. Replies
    6
    Views
    2,954

    Re: PrintStream not printing in file

    i think that should not be the reason for the EOFException. There seems no way printing of some variable would cause EOF.
    EOF should happen only when we are reading.

    That, anyways, is not helping...
  2. Replies
    6
    Views
    2,954

    Re: PrintStream not printing in file

    Thanks! :)
    But actually the thing is, i know there are other options to use, but i just wanted to know what the problem was with PrintStream here...may be some hidden concept i am overooking..
  3. Replies
    6
    Views
    2,954

    PrintStream not printing in file

    I have this program to write into a file. I have a problem with my PrintStream


    public static void main(String[] args) throws Exception {
    int i;
    DataOutputStream out = new...
  4. Replies
    6
    Views
    2,024

    Re: Problem Using DataStream

    But is that not exactly the problem Data Streams are meant to handle?
    I mean if they are capable of outputting primitive type data to a file, but i don't see the data...something just seems amiss....
  5. Replies
    6
    Views
    2,024

    Problem Using DataStream

    I used DataStream to write some primitive type data to a file, and then read it back. The data was read back and displayed on the console fine, but when i saw the file i was writing to i found lots...
  6. Thread: Hello

    by rrahulvverma
    Replies
    1
    Views
    924

    Hello

    Hello People.
    This is Rahul. I am a 4th year engineering student in Information Technology.
    Looking forward to having an enlightening experience here.
Results 1 to 6 of 6