home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 41 / IOPROG_41.ISO / soft / c++ / NUMCPP11.ZIP / numerror.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-10  |  954 b   |  38 lines

  1. //===================================================================
  2. // algorthm.hpp
  3. //
  4. // Version 1.1
  5. //
  6. // Written by:
  7. //   Brent Worden
  8. //   WordenWare
  9. //   email:  Brent@Worden.org
  10. //
  11. // Copyright (c) 1998-1999 WordenWare
  12. //
  13. // Created:  August 28, 1998
  14. // Revised:  April 10, 1999
  15. //===================================================================
  16.  
  17. #include <iostream>
  18.  
  19. #include "numerror.h"
  20.  
  21. NUM_BEGIN
  22.  
  23. NUMERICS_EXPORT void NUMERICS_ERROR(const char *func, const char *msg)
  24. {
  25.     std::cerr << "Numerics Error in routine " << func << std::endl;
  26.     std::cerr << "    " << msg << std::endl;
  27. }
  28.  
  29. NUM_END
  30.  
  31. //===================================================================
  32. // Revision History
  33. //
  34. // Version 1.0 - 08/28/1998 - New.
  35. // Version 1.1 - 04/10/1999 - Added Numerics namespace.
  36. //                            Added std scope resolution.
  37. //===================================================================
  38.