home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / gcc / help / 2732 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.1 KB  |  29 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!enterpoop.mit.edu!spool.mu.edu!darwin.sura.net!mojo.eng.umd.edu!keane
  3. From: keane@eng.umd.edu (Christopher Matthews Keane)
  4. Subject: Swab and dynamic arrays
  5. Message-ID: <1992Dec13.203700.653@eng.umd.edu>
  6. Date: Sun, 13 Dec 92 20:37:00 GMT
  7. Organization: Project GLUE, University of Maryland, College Park
  8. Lines: 19
  9.  
  10. As relatively new to GNU C and using a SUN workstation, I have 2 quick
  11. questions.
  12. 1) I received a response concerning a question concerning the binary
  13. representation of data on a SUN vs. a PC.  I lost that address, could
  14. that person or another please send me a short code on how to use
  15. swab() to change data from little-endian to big-endian... I am not
  16. having much luck finding useful docs concerning this function.
  17.  
  18. 2) I thought I remember seeing a mention that GNU C can handle dynamic
  19. array allocation.  I realize that this is easily mimicked using
  20. malloc(), etc.. but is this a truth or fantasy?  If it exists, what
  21. are the limitations?
  22.  
  23. Sorry if this is a FAQ - but if a FAQ exists for this group, can
  24. someone please point me to it?!?!?!
  25. Cheers
  26. Christopher Keane
  27. keane@earthsun.umd.edu
  28.  
  29.