C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

var coding with 10bits

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French)
View previous topic :: View next topic  
Author Message
Dany
Guest





PostPosted: Thu Jul 17, 2003 1:05 pm    Post subject: var coding with 10bits Reply with quote



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





PostPosted: Thu Jul 17, 2003 6:03 pm    Post subject: Re: var coding with 10bits Reply with quote



On Thu, 17 Jul 2003 15:05:44 +0200, "Dany" <dany_tambicannou (AT) yahoo (DOT) fr>
wrote:

Quote:
Hi

Sorry, fr.* newsgroups are French-speaking. You should post questions
in English in comp.lang.c++ or comp.lang.c++.moderated.


--
Tout sur fr.* (FAQ, etc.) : http://www.usenet-fr.net/fur/
et http://www.aminautes.org/forums/serveurs/tablefr.html
Archives : http://groups.google.com/advanced_group_search
http://www.usenet-fr.net/fur/usenet/repondre-sur-usenet.html

Back to top
Dany
Guest





PostPosted: Fri Jul 18, 2003 7:11 am    Post subject: Re: var coding with 10bits Reply with 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à.




"Fabien LE LEZ" <gramster (AT) gramster (DOT) com> a écrit dans le message de
news:26pdhvo0uhu445lg76c65gr4beojqkrun5 (AT) 4ax (DOT) com...
Quote:
On Thu, 17 Jul 2003 15:05:44 +0200, "Dany" wrote:

Hi

Sorry, fr.* newsgroups are French-speaking. You should post questions
in English in comp.lang.c++ or comp.lang.c++.moderated.


--
Tout sur fr.* (FAQ, etc.) : http://www.usenet-fr.net/fur/
et http://www.aminautes.org/forums/serveurs/tablefr.html
Archives : http://groups.google.com/advanced_group_search
http://www.usenet-fr.net/fur/usenet/repondre-sur-usenet.html



Back to top
ns2v
Guest





PostPosted: Sun Jul 20, 2003 10:23 am    Post subject: Re: var coding with 10bits Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.