home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9169 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  929 b 

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!bu254
  2. From: bu254@cleveland.Freenet.Edu (Stephen Groundwater)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: BC++ Far new()
  5. Date: 8 Sep 1992 20:19:53 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 17
  8. Message-ID: <18j1t9INNbs3@usenet.INS.CWRU.Edu>
  9. References: <18j0e6INN8ju@usenet.INS.CWRU.Edu> <gin503.715957220@cdc835>
  10. Reply-To: bu254@cleveland.Freenet.Edu (Stephen Groundwater)
  11. NNTP-Posting-Host: hela.ins.cwru.edu
  12.  
  13.  
  14. In a previous article, bu254@cleveland.Freenet.Edu (Stephen Groundwater) says:
  15.  
  16. >>
  17. >>Question : how can I call the far version of 'new()' from a small memory
  18. >>           program ?
  19. >>
  20. >char far *MyBuf;
  21. >MyBuf=(char far *)new(100L);
  22. >
  23. >Voila, 100 bytes of far memory, the important bit is the L.
  24. >
  25. Opps, what I meant to say was
  26. MyBuf=(char far *)new[100L];
  27. sorry.
  28.  
  29. Steve
  30.