455,130 Members | 1,365 Online
Need help? Post your question and get tips & solutions from a community of 455,130 IT Pros & Developers. It's quick & easy.

bit operations

 P: n/a Hi All Well then.. it could also be posted to C group... but I am subscribed to this group so thought of posting here. 1. Given a number X, how do you make nth bit (X is integer, so 1
9 Replies

 P: n/a * Ajay: Well then.. it could also be posted to C group... but I am subscribed to this group so thought of posting here. 1. Given a number X, how do you make nth bit (X is integer, so 1

 P: n/a Ajay wrote: 1. Given a number X, how do you make nth bit (X is integer, so 1

 P: n/a Ajay wrote: Hi All Well then.. it could also be posted to C group... but I am subscribed to this group so thought of posting here. 1. Given a number X, how do you make nth bit (X is integer, so 1

 P: n/a So if (person in your company someone makes a spelling mistake && has a bug against his name) fire that person endif right? Alf P. Steinbach wrote: * Ajay: Well then.. it could also be posted to C group... but I am subscribed to this group so thought of posting here. 1. Given a number X, how do you make nth bit (X is integer, so 1

 P: n/a * Ajay: [top-posting] [quoting signature] Please do not top-post in this group. See the FAQ. Corrected. Please do not quote irrelevant material such as signatures. Corrected. * Ajay: * Alf P. Steinbach: * Ajay: Well then.. it could also be posted to C group... but I am subscribed to this group so thought of posting here. 1. Given a number X, how do you make nth bit (X is integer, so 1

 P: n/a "Ajay" wrote in message news:11**********************@o13g2000cwo.googlegr oups.com... Hi All Well then.. it could also be posted to C group... but I am subscribed to this group so thought of posting here. 1. Given a number X, how do you make nth bit (X is integer, so 1 for a dynamically growing bit array or a bitset for fixed-sized arrays of bits. HTH Chris Aug 3 '05 #7

 P: n/a Thanks everybody.. that was simple.. Btw, Alf, thanks to you too. because I really had forgotten the basics that I should always check for correct spellings before sending any email/group post. about basics - sometimes a person can overlook simplest of things.. :(.. can heppen with anybody.. me working/not working/high school - honestly your openion does not matter. It does not help either. Only solution would have helped here. Aug 3 '05 #8

 P: n/a * Ajay: Thanks everybody.. that was simple.. Btw, Alf, thanks to you too. because I really had forgotten the basics that I should always check for correct spellings before sending any email/group post. about basics - sometimes a person can overlook simplest of things.. :(.. can heppen with anybody.. me working/not working/high school - honestly your openion does not matter. It does not help either. Only solution would have helped here. The group has a policy of not doing people's homework. For good reason: you don't learn anything that way (including that you don't learn how to find out), and we or someone may end up with a clueless you on a project. See the FAQ: . -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Aug 3 '05 #9

 P: n/a Ajay wrote: 1. Given a number X, how do you make nth bit (X is integer, so 1