home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11224 < prev    next >
Encoding:
Text File  |  1992-07-21  |  816 b   |  45 lines

  1. Path: sparky!uunet!mcsun!uknet!yorkohm!jkn
  2. From: jkn@ohm.york.ac.uk (John Nicoll)
  3. Newsgroups: comp.lang.c++
  4. Subject: MSC++ v7 bug? <new> constructor not found!
  5. Keywords: Microsoft C++ new error bug
  6. Message-ID: <1992Jul21.132931.8728@ohm.york.ac.uk>
  7. Date: 21 Jul 92 13:29:31 GMT
  8. Organization: Electronics Department, University of York, UK
  9. Lines: 34
  10.  
  11.  
  12.  
  13. Hello All,
  14.     any ideas why the following compiles fine
  15. under MSC++ v7 with the S,M,C & L models, but gives
  16.  
  17. Error C2559: new: no match for specified operator?
  18.  
  19.  
  20.  
  21. #include "iostream.h"
  22.  
  23.  
  24.  
  25. main()
  26.     {
  27.     int *Temp=new int [1000];
  28.     
  29.     delete [] Temp;
  30.     return(0);
  31.     }
  32.  
  33.  
  34.  
  35. email replies preferred. Thank you
  36.     
  37.  
  38.     john N
  39.  
  40. -- 
  41. john nicoll (jkn@ohm.york.ac.uk)
  42. Department of Electronics  University of York
  43. Heslington   YORK YO1 5DD U.K
  44. Tel +44 (904) 432381   Fax +44 (904) 432335
  45.