🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9507

Como acceder al bit x de un dato

#9507
From: Angel
Date: Mon, 17 Jun 2002 15:39
12 lines
1097 bytes
Suponiendo q tenemos un dato de n bytes, com podria acceder al bit x?? 
en C o C++.

ej:

bool cual_es_el_valor_del_bit(n_bit);


-- 

Liso. -Eadem Mutata Resurgo-
Linux has you...
Technical Details
Message-ID: <aekvlb$81hpu$1@ID-148170.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!80-24-166-73.uc.nombres.ttd.ES!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,8245fc4b08721416,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-06-17 08:36:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!80-24-166-73.uc.nombres.ttd.ES!not-for-mail
From: Angel <a.lis@bussitel.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Como acceder al bit x de un dato
Date: Mon, 17 Jun 2002 17:39:38 +0200
Organization: Bussitel S.A.
Lines: 12
Message-ID: <aekvlb$81hpu$1@ID-148170.news.dfncis.de>
Reply-To: a.lis.quita@bussitel.es
NNTP-Posting-Host: 80-24-166-73.uc.nombres.ttd.es (80.24.166.73)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: fu-berlin.de 1024328171 8439614 80.24.166.73 (16 [148170])
User-Agent: KNode/0.6.1