TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Frank Adam
from: Darin McBride
date: 1998-10-11 01:22:16
subject: bit fields

HS>    char bit0:1;
 FA> Firstly, bitfields have to be unsigned integers so 
 FA> change those declarations to unsigned bit0:1;

Um, not exactly.

        A bit-field shall have a type that is a qualified or unqualified
version of one of _int_, _unsigned int_, or _signed int_. (ANSI C 6.5.2.1,
underscored parts here are bold in original)



---
* Origin: Tanktalus' Tower BBS (1:250/102)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 810 639/252
SEEN-BY: 670/218
@PATH: 250/102 201 99 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.