Subj : Re: Borland C++5.02 with Microsoft C++ code To : borland.public.cpp.borlandcpp From : "Steve D" Date : Mon Mar 29 2004 11:17 am Hello Ed (et al), Thank you very much for the quick response. Finally I got my program to run! Another problme I'm facing is to execute the program, when it requires input and output files. I used to execute it with filename( .exe file) -i inputfilename -o outputfilename. This worked for me in the past on unix workstations, with C++ 10+ years ago. I can't seem to find it in the manual of C++. Any help is highly appreciated. "Ed Mulroy [TeamB]" wrote: >The old includes for C++ were > >#include >#include > >The new C++ standard specifies that it be done this way. > >#include >#include > >When you do it the new way the standard functions are placed into the >std namespace so you will need to either say something like > > std::printf(whatever > >or have this at the top of the program after the includes > > using namespace std; > >The cstdlib.h and cmath.h names appear to combine both of the schemes >shown above. The C++ language standard does not specify any header >files with those names. I suspect that the .h at the end is a typo. > >. Ed > >> Steve D wrote in message >> news:406494df$1@newsgroups.borland.com... >> >> I just loaded my obsolete 5.02 on my PC just so that I can >> run a C++ program developed by another programmer, but >> the compiler complains that cstdlib.h and cmath.h libraries >> are not found. Is there a simple fix for this? > > .