delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/01/12:55:43

From: XXguille AT XXiies DOT XXes (Guillermo Rodriguez Garcia)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: typedef'ing a 24-bit integer
Date: Tue, 01 Jun 1999 16:23:40 GMT
Organization: Telefonica Transmision de Datos
Lines: 16
Message-ID: <3752fd31.2514008@noticias.iies.es>
References: <37459ABF DOT FF51CA41 AT aaual DOT ualg DOT pt> <374C2C34 DOT F91FB02 AT aaual DOT ualg DOT pt> <374e4a23 DOT 1353984 AT noticias DOT iies DOT es> <37525F5A DOT 9CC35DF1 AT aaual DOT ualg DOT pt>
NNTP-Posting-Host: iies208.iies.es
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.451
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

El día Mon, 31 May 1999 11:07:22 +0100, Miguel Guerreiro
<a14616 AT aaual DOT ualg DOT pt> escribió:

>
>Perhaps I didn't make myself clear, I only want it to take three bytes
>when I save it to disk ( maybe packed ) not while I'm working with it...

Well, that is a much easier problem to solve; you just need
to write your own fwrite and fread functions for your type.

Regards,
GUILLE

----
Guillermo Rodriguez Garcia
XXguille AT XXiies DOT XXes (ya sabes :-)

- Raw text -


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