comp.lang.ada
 help / color / mirror / Atom feed
* Newbie question: How does one do bit manipulation in Ada?
@ 2003-12-23  1:58 Peter C. Chapin
  2003-12-23  3:01 ` Georg Bauhaus
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Peter C. Chapin @ 2003-12-23  1:58 UTC (permalink / raw)



Hello!

I'm a C/C++ programmer in the process of teaching myself Ada. I've been 
writing toy programs to get a feeling for the language. There is 
obviously a lot to learn, but I'm enjoying myself.

Anyway, I have a need to do some bit manipulations in one of my 
programs. In particular I want to invert certain bits in a number 
(integer). I'm used to doing this with a bitwise XOR operator (C/C++) so 
I looked around for some kind of equivalent in Ada but I didn't find 
anything in package Standard or in any of the "usual" library packages. 
Am I missing something or am I just thinking about this wrong?

Thanks!

Peter



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-12-29  2:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-23  1:58 Newbie question: How does one do bit manipulation in Ada? Peter C. Chapin
2003-12-23  3:01 ` Georg Bauhaus
2003-12-23  3:23   ` Peter C. Chapin
2003-12-23  3:36     ` tmoran
2003-12-23  3:33 ` Steve
2003-12-23  9:09 ` Stephen Leake
2003-12-28 13:20   ` Peter C. Chapin
2003-12-28 18:40     ` Robert I. Eachus
2003-12-29  2:57       ` Peter C. Chapin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox