The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Streams

Posted by Alain Muls on April 07, 2000 at 8:35 AM

I need to write a JAVA GUI which communicates over an Internet socket
with a C program that generates each second a messages comprising
int/long/float/double/hexa values. For testing purposes the data
are written by the C-program to a file which I want to open in java
and then perform the reading. I have severe problems with this

a. What stream should I use and who do I correctly read a C double/
long/int and so on value in java??

b. Is there a class that transforms hexadecimal values to the decimal
representation

Thanks for any help

Alain



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us