home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / c / 20154 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  780 b 

  1. Path: sparky!uunet!mcsun!chsun!zurich!gegu
  2. From: gegu@zurich.spectrospin.ch (Gerry Gucher)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HALLOC and HUGE ptrs in Microsoft C
  5. Summary: oops
  6. Message-ID: <207@zurich.spectrospin.ch>
  7. Date: 24 Jan 93 23:54:37 GMT
  8. References: <1993Jan21.175608.4279@arizona.edu> <206@zurich.spectrospin.ch>
  9. Distribution: world,local
  10. Organization: Spectrospin AG, Fallanden Switzerland
  11. Lines: 15
  12.  
  13. In article <206@zurich.spectrospin.ch>, gegu@zurich.spectrospin.ch (Gerry Gucher) writes:
  14.  
  15.  
  16.  
  17. >   instead :  fwrite( buf, 200000, sizeof(int), fp );
  18. >   try     :  fwrite( buf, 2000, 1000*sizeof(int), fp );
  19. > I have not tried it but it might work.
  20.  
  21. Oops, I blew it. It sure wouldn't work. Should say
  22.  
  23.     try     :  fwrite( buf, 200, 1000*sizeof(int), fp );
  24.  
  25. Gerry
  26.  
  27.