CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2000
    Location
    NJ
    Posts
    123

    DataOutputStream question

    Ive just started learning about the stream classes that java provides and I hava a question.
    Please forgive me for being too lazy to code a test....
    I want to know if its possible to write mixed data types to a DataOutputStream... While I know the ObjectOutputStream facilitates this need Im just wondering if the DataOutputStream allows writing a pattern like int,string,int,string.....
    Thanks for the time
    Jim

    52901368

  2. #2
    Join Date
    Sep 2000
    Location
    Melbourne --> Australia
    Posts
    68

    Re: DataOutputStream question

    Hi
    This, i believe is the best tip that you have ever recieved re-Java, please browse this URL .
    Please look up DataOutputStream, and the methods
    that it provides.
    http://java.sun.com/j2se/1.3/docs/api/index.html
    Also try to do a tutorial on JavaIO.
    About this comment from you :
    "Please forgive me for being too lazy to code a test.... "
    You will have to forgive yourself for being lazy, its not up to anyone else to forgive you, it is
    yourself that you are cheating, im afraid.
    Be determined...
    Phill


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured