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

  1. Xref: sparky comp.lang.c++:11422 comp.lang.c:11529
  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: A Question on masking
  6. Message-ID: <1992Jul23.192147.191534@ua1ix.ua.edu>
  7. Date: 23 Jul 92 19:21:47 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: 19
  12. Nntp-Posting-Host: ho12.eng.ua.edu
  13.  
  14.  
  15.            I need to convert a three dimensional identifier to a one,two or
  16. three digit number.
  17. I am doing it for converting a three dimensional pointer to a one dimensional   one .
  18. I know for sure that it has got to do something with the masking.
  19. Can somebody suugest me a way out of this
  20. For Example what I have to do is find a unique number for each of three         dimensional Identifiers.
  21. I need to find out a single unique number for each of all [1-999][1-999][0-3]
  22. numbers.
  23. Any help will be highly appreciated
  24. Thanks a lot in advance
  25.  
  26. Subbu
  27.   
  28.  
  29. -- 
  30. It is from Darbha                                sdarbha@buster.eng.ua.edu
  31.                                                    OFF : (205) 348 - 9289   
  32.                                                    RES : (205) 750 - 0481 
  33.