home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11423 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.7 KB

  1. Xref: sparky comp.lang.c++:11423 comp.lang.c:11530
  2. Path: sparky!uunet!dtix!darwin.sura.net!ua1ix!ho12.eng.ua.edu!sdarbha
  3. From: sdarbha@ho12.eng.ua.edu (Subrahmanyam Darbha)
  4. Newsgroups: comp.lang.c++,comp.lang.c
  5. Subject: Re: Population count.
  6. Message-ID: <1992Jul23.192553.191643@ua1ix.ua.edu>
  7. Date: 23 Jul 92 19:25:53 GMT
  8. References: <1992Jul22.170132.29418@m.cs.uiuc.edu> <1992Jul22.182925.22810@newshost.lanl.gov> <1992Jul22.183418.23446@newshost.lanl.gov>
  9. Sender: news@ua1ix.ua.edu
  10. Organization: The University of Alabama, Tuscaloosa
  11. Lines: 29
  12. Nntp-Posting-Host: ho12.eng.ua.edu
  13.  
  14. Newsgroups: comp.lang.c++,comp.lang.c
  15. Subject: A Question on masking 
  16. Summary: 
  17. Expires: 
  18. References: <1992Jul22.170132.29418@m.cs.uiuc.edu> <1992Jul22.182925.22810@newshost.lanl.gov> <1992Jul22.183418.23446@newshost.lanl.gov>
  19. Sender: 
  20. Followup-To: 
  21. Distribution: 
  22. Organization: The University of Alabama, Tuscaloosa
  23. Keywords: 
  24.  
  25.            I need to convert a three dimensional identifier to a one,two or
  26. three digit number.
  27. I am doing it for converting a three dimensional pointer to a one dimensional   one .
  28. I know for sure that it has got to do something with the masking.
  29. Can somebody suugest me a way out of this
  30. For Example what I have to do is find a unique number for each of three         dimensional Identifiers.
  31. I need to find out a single unique number for each of all [1-999][1-999][0-3]
  32. numbers.
  33. Any help will be highly appreciated
  34. Thanks a lot in advance
  35.  
  36. Subbu
  37.   
  38.  
  39. -- 
  40. It is from Darbha                                sdarbha@buster.eng.ua.edu
  41.                                                    OFF : (205) 348 - 9289   
  42.                                                    RES : (205) 750 - 0481 
  43.