home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.msdos.programmer:10415 comp.lang.c++:15933 comp.lang.c:16170
- Newsgroups: comp.os.msdos.programmer,comp.lang.c++,comp.lang.c
- Path: sparky!uunet!newsstand.cit.cornell.edu!piccolo.cit.cornell.edu!crux3!sl14
- From: sl14@crux3.cit.cornell.edu (Stephen Lee)
- Subject: 'new'ing >64K Objects in BC++
- Message-ID: <1992Nov8.181852.21103@piccolo.cit.cornell.edu>
- Sender: news@piccolo.cit.cornell.edu (USENET News System)
- Nntp-Posting-Host: crux3.cit.cornell.edu
- Organization: Fantasy Zone Ithaca, Inc.
- Date: Sun, 8 Nov 92 18:18:52 GMT
- Lines: 17
-
- Is there an equivalent of farmalloc() in BC++ for 'new'? It seems
- that the BC++ uses size_t to calculate the size of the memory chunk
- it's getting with 'new', thus limiting it to 64K-1 in size. (size_t,
- I believe, is unsigned int in BC++)
-
- Given the fact that BC++ uses a signed int for an array index, and
- you'll find maintaining a large array is difficult. Perhaps I should
- switch to djgpp :(
-
- Stephen
-
- P.S. What's the difference between djgpp and g++ other than that
- they're maintained by different people? The g++ source have files
- like something.com in it so is it possible to compile g++ under DOS?
- --
- Stephen Lee
- Internet: sl14@crux2.cit.cornell.edu
-