Mail Archives: djgpp/2000/03/23/16:50:51

From: "Ben Alford" <benjamin DOT alford AT surrey DOT uni DOT ntl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Binary to double in C
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <bKvC4.964$>
Date: Thu, 23 Mar 2000 21:09:08 -0000
X-Complaints-To: abuse AT net DOT ntl DOT com
X-Trace: 953845767 (Thu, 23 Mar 2000 21:09:27 GMT)
NNTP-Posting-Date: Thu, 23 Mar 2000 21:09:27 GMT
Organization: ntl News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


I hope some can help me with my problem with C.

I am using fread to read in a binary line as follows:
char Data[9];

    fread(Data, sizeof(double),1,Output);

I want to take the binary string in Data and get the value of it as a

Any suggestions would be most appreciated.


Ben Alford

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019