Article View: es.comp.os.linux.programacion
Article #10720Re: Inversion de bits
From: Fco. Javier Espejo
Date: Thu, 07 Feb 2002 01:29
Date: Thu, 07 Feb 2002 01:29
11 lines
1472 bytes
1472 bytes
Hay un fallo gordo, con esto se soluciona ;-) #define sizeof(unsigned char) (sizeof(unsigned char)*8) Es decir, que falta multiplicar el tama�o del unsigned char por el n�mero de bits. Vamos que si hubiera puesto un 8 no hubiera habido ning�n problema. --------------------------------- jespejoYASABES@QUEHACERarrakis.es �Sistemas Operativos? �Vis�tala! http://www.arrakis.es/~jespejo ---------------------------------
Technical Details
Message-ID:
<3c61d85d_4@news.arrakis.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!hub1.nntpserver.com!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!caladan.arrakis.esReferences:
<3C61171A.5F9E4911@eq.upc.es> <3c61c2a4$1_4@news.arrakis.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,bd33173853cfd14f X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-02-06 17:29:21 PST From: "Fco. Javier Espejo" <jespejoYASABES@QUEHACERarrakis.es> Newsgroups: es.comp.os.linux.programacion References: <3C61171A.5F9E4911@eq.upc.es> <3c61c2a4$1_4@news.arrakis.es> Subject: Re: Inversion de bits Date: Thu, 7 Feb 2002 02:29:22 +0100 Lines: 13 Organization: http://www.arrakis.es/~jespejo X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 212.59.212.54 Message-ID: <3c61d85d_4@news.arrakis.es> X-Trace: caladan.arrakis.es 1013045341 212.59.212.54 (7 Feb 2002 02:29:01 +0100) X-Original-NNTP-Posting-Host: 195.5.65.34 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!hub1.nntpserver.com!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!caladan.arrakis.es