Path: utzoo!attcan!uunet!samsung!rex!rouge!gator.cacs.usl.edu From: pcb@gator.cacs.usl.edu (Peter C. Bahrs) Newsgroups: comp.lang.c++ Subject: Turbo C++ 2.0 compatability with older version? Message-ID: <12838@rouge.usl.edu> Date: 7 Aug 90 20:37:50 GMT Sender: anon@rouge.usl.edu Organization: The Center for Advanced Computer Studies, USL Lines: 33 I am trying to recompile some C++ code with the new 2.0 turbo compiler. There are a bunch of errors regarding the use of filebuf with open and ostream with << ????? The books only say how to migrate to 2.0 unless I missed something. I have selected the medium memory model, add the file prog1.cpp and the library oldstrmm.lib to the project file and tried to compile...ERRRRROOOR I turned default libs off....ERRRRROOR The chunk of code that barfs looks like: #include filebuf f; f.open ("thisfile", input); istream i(&f); This works on all other non 2.0 compilers I have (AT&T GNU Zortech). Any ideas? /*----------- Thanks in advance... --------------------------------------+ | Peter C. Bahrs | | The USL-NASA Project | | Center For Advanced Computer Studies INET: pcb@gator.cacs.usl.edu | | 2 Rex Street | | University of Southwestern Louisiana ...!uunet!dalsqnt!gator!pcb | | Lafayette, LA 70504 | +-----------------------------------------------------------------------*/