🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #3268

Re: Vraagje ivm C

#3268
From: Nicolas Barbier
Date: Sat, 17 Jan 2004 21:22
14 lines
1540 bytes
Davy Loots wrote:

> ~ bitwise NOT
> vb.
> int a = ~13; // == 00001101 binair
> resultaat
> a == 242; // == 11110010 binair

Dit hangt nogal af van hoe groot int's op de uitvoerende machine zijn. Een
int-grootte van 8 bit ben ik nog niet tegengekomen ;-).

-- 
Nicolas Barbier
Protecting innovation against patent inflation <url:http://swpat.ffii.org/>
Technical Details
Message-ID: <4009a849$0$1118$6c56d894@feed0.news.be.easynet.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!193.75.75.20.MISMATCH!news.eunet.no!fi.sn.net!newsfeed2.fi.sn.net!mephistopheles.news.clara.net!news.clara.net!colt.net!easynet-quince!easynet.net!feed0.news.be.easynet.net!not-for-mail
References: <qwcOb.16528$xq.3810365@phobos.telenet-ops.be> <aqli00tmc95v3dfhik1jntd0q2r8kur7ra@4ax.com> <hZgOb.16964$9E7.3711085@phobos.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,5787f286dda93359
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2004-01-17 13:25:30 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!193.75.75.20.MISMATCH!news.eunet.no!fi.sn.net!newsfeed2.fi.sn.net!mephistopheles.news.clara.net!news.clara.net!colt.net!easynet-quince!easynet.net!feed0.news.be.easynet.net!not-for-mail
Message-ID: <4009a849$0$1118$6c56d894@feed0.news.be.easynet.net>
From: Nicolas Barbier <reply@in.group.invalid>
Subject: Re: Vraagje ivm C
Newsgroups: be.comp.programming
Date: Sat, 17 Jan 2004 22:22:22 +0100
References: <qwcOb.16528$xq.3810365@phobos.telenet-ops.be> <aqli00tmc95v3dfhik1jntd0q2r8kur7ra@4ax.com> <hZgOb.16964$9E7.3711085@phobos.telenet-ops.be>
User-Agent: KNode/0.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Lines: 14
Organization: [ posted via Easynet Belgium ]
NNTP-Posting-Date: 17 Jan 2004 21:25:29 GMT
NNTP-Posting-Host: 213.193.182.194
X-Trace: 1074374729 feed0.news.be.easynet.net 1118 [::ffff:213.193.182.194]:33985
X-Complaints-To: abuse@be.easynet.net