// Calculator.h : main header file for the CALCULATOR application
//

#if !defined(AFX_CALCULATOR_H__04A40A6C_B4BC_4048_84E5_C8FB119BAE43__INCLUDED_)
#define AFX_CALCULATOR_H__04A40A6C_B4BC_4048_84E5_C8FB119BAE43__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols
#include "VLNumber.h"

/////////////////////////////////////////////////////////////////////////////
// CCalculatorApp:
// See Calculator.cpp for the implementation of this class
//

class CCalculatorApp : public CWinApp
{
public:
	CCalculatorApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCalculatorApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CCalculatorApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////


class Calculator : public CObject  
{
	VLNumber buffer1;
	VLNumber buffer2;
	VLNumber buffer3;
public:
	Calculator();
	virtual ~Calculator();
	void plus(CString x,CString y,CString &z,BOOL &overflow);
	void minus(CString x,CString y,CString &z,BOOL &overflow);
	void multiply(CString x,CString y,CString &z,BOOL &overflow);
	void divide(CString x,CString y,CString &z,BOOL &overflow);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CALCULATOR_H__04A40A6C_B4BC_4048_84E5_C8FB119BAE43__INCLUDED_)
