 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dany Guest
|
Posted: Thu Jul 17, 2003 1:05 pm Post subject: var coding with 10bits |
|
|
Hi
I want to code a binary value with 10 bits range. I only find the 8bits and
the 16bits range.
regards,
Dany
|
|
| Back to top |
|
 |
Fabien LE LEZ Guest
|
|
| Back to top |
|
 |
Dany Guest
|
Posted: Fri Jul 18, 2003 7:11 am Post subject: Re: var coding with 10bits |
|
|
Ah merde désolé j'ai tellement l'habitude de poster sur des news groupe en
englais que je me suis trompé de langue sur celui là.
"Fabien LE LEZ" <gramster (AT) gramster (DOT) com> a écrit dans le message de
news:26pdhvo0uhu445lg76c65gr4beojqkrun5 (AT) 4ax (DOT) com...
|
|
| Back to top |
|
 |
ns2v Guest
|
Posted: Sun Jul 20, 2003 10:23 am Post subject: Re: var coding with 10bits |
|
|
| Quote: | Ah merde désolé j'ai tellement l'habitude de poster sur des news groupe en
englais que je me suis trompé de langue sur celui là.
|
tu peux faire appel au champs de bit pour laisser le compilo gerer un entier
de 10 bit.
struct Short10
{
short value : 10;
short left : 6;
};
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|