cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/15/01:03:55

From: "Sérgio Vale e Pace" <space AT gold DOT com DOT br>
Newsgroups: comp.os.msdos.djgpp
Subject: Individual Bits
Date: Wed, 15 Apr 1998 02:00:44 -0300
Organization: All USENET -- http://www.Supernews.com
Lines: 18
Message-ID: <35343EFB.FA2644E7@gold.com.br>
NNTP-Posting-Host: 24725 AT 200 DOT 215 DOT 160 DOT 239
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi Eevryone,

    I'm trying to make a struct to work something like this:

defined_struct data;
data=8;
data.bit0=1; // data=9
data.bit2=1; //data=13

or at least

defined_struct data;
data.value=8;
data.bit0=1; // data=9
data.bit2=1; //data=13

but I'm not figuring how can somebody give-me some help.

- Raw text -


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