home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c++:11423 comp.lang.c:11530
- Path: sparky!uunet!dtix!darwin.sura.net!ua1ix!ho12.eng.ua.edu!sdarbha
- From: sdarbha@ho12.eng.ua.edu (Subrahmanyam Darbha)
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Re: Population count.
- Message-ID: <1992Jul23.192553.191643@ua1ix.ua.edu>
- Date: 23 Jul 92 19:25:53 GMT
- References: <1992Jul22.170132.29418@m.cs.uiuc.edu> <1992Jul22.182925.22810@newshost.lanl.gov> <1992Jul22.183418.23446@newshost.lanl.gov>
- Sender: news@ua1ix.ua.edu
- Organization: The University of Alabama, Tuscaloosa
- Lines: 29
- Nntp-Posting-Host: ho12.eng.ua.edu
-
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: A Question on masking
- Summary:
- Expires:
- References: <1992Jul22.170132.29418@m.cs.uiuc.edu> <1992Jul22.182925.22810@newshost.lanl.gov> <1992Jul22.183418.23446@newshost.lanl.gov>
- Sender:
- Followup-To:
- Distribution:
- Organization: The University of Alabama, Tuscaloosa
- Keywords:
-
- I need to convert a three dimensional identifier to a one,two or
- three digit number.
- I am doing it for converting a three dimensional pointer to a one dimensional one .
- I know for sure that it has got to do something with the masking.
- Can somebody suugest me a way out of this
- For Example what I have to do is find a unique number for each of three dimensional Identifiers.
- I need to find out a single unique number for each of all [1-999][1-999][0-3]
- numbers.
- Any help will be highly appreciated
- Thanks a lot in advance
-
- Subbu
-
-
- --
- It is from Darbha sdarbha@buster.eng.ua.edu
- OFF : (205) 348 - 9289
- RES : (205) 750 - 0481
-