home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
VISBUILD
/
CALCULAT
/
CPPOV13
/
ICALCDC.HPP
< prev
next >
Wrap
Text File
|
1995-04-14
|
2KB
|
51 lines
#ifndef _ICALCDC_
#define _ICALCDC_
//****************************************************************************
// ICalcDivisionChip Class - C++ Header File (icalcdc.hpp) *
// *
// COPYRIGHT: Copyright (C) International Business Machines Corp., 1994,1995 *
// *
// DISCLAIMER OF WARRANTIES: *
// The following [enclosed] code is sample code created by IBM *
// Corporation. This sample code is not part of any standard IBM product *
// and is provided to you solely for the purpose of assisting you in the *
// development of your applications. The code is provided "AS IS", *
// without warranty of any kind. IBM shall not be liable for any damages *
// arising out of your use of the sample code, even if they have been *
// advised of the possibility of such damages. *
//****************************************************************************
//NOTE: WE RECOMMEND USING A FIXED-SPACE FONT TO LOOK AT THE SOURCE.
//
// VERSION 2
//
// Changes:
// 9/23/94 - Put in changes to get results of math computations via a return
// value on a connection. This also allows for connecting in some
// exception handling.
//****************************************************************************
#include "icalcop.hpp"
//**************************************************************************
// Class: ICalcDivisionChip
//
// Purpose: Describes ICalcDivisionChip
// Defines the calculator division chip
//************************************************************************** */
class _Export ICalcDivisionChip : public ICalcOperator
{
public:
ICalcDivisionChip ();
virtual ~ICalcDivisionChip ();
//Implementor Method Functions
virtual double
evaluate (double operand1, double operand2);
};
#endif