home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / explorer / 476 < prev    next >
Encoding:
Text File  |  1993-01-23  |  941 b   |  35 lines

  1. Newsgroups: comp.graphics.explorer
  2. Path: sparky!uunet!nih-csl!postman
  3. From: lnspet@forest.nia.nih.gov (Jim Haxby)
  4. Subject: how to print out **dims
  5. Message-ID: <1993Jan22.220527.14043@alw.nih.gov>
  6. Sender: postman@alw.nih.gov (AMDS Postmaster)
  7. Organization: National Institutes of Health, Bethesda, MD
  8. Date: Fri, 22 Jan 1993 22:05:27 GMT
  9. Lines: 24
  10.  
  11. How can I print out the dimension info of a 2d-lattice
  12.  
  13. I call the cxLatDescGet function:
  14.  
  15.         long d_nDims;
  16.         long **d_nDim;
  17.         long d_hasData;
  18.         long d_nDataVar;
  19.         cxPrimType d_primType;
  20.         long d_hasCoord;
  21.         long d_nCoordVar;
  22.         cxCoordType d_coordType;
  23.  
  24.         cxLatDescGet(lattice_2d, &d_nDims, d_nDim, &d_hasData, &d_nDataVar,
  25.                         &d_primType, &d_hasCoord, &d_nCoordVar, &d_coordType);
  26.  
  27.  
  28. I have been trying various ways to print out the 'd_nDim' content and
  29. have been geeting segmentation fault all the time.
  30.  
  31. Thanks.   
  32.  
  33.  
  34.  
  35.