-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCalcDriver.cpp
45 lines (43 loc) · 1.11 KB
/
CalcDriver.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//----------------------------------------------------------------------------
// CalcDriver.cpp
//
// functions: main(void)
//----------------------------------------------------------------------------
#include <iostream>
#include <cstdlib>
#include "RPNCalc.h"
using namespace std;
//----------------------------------------------------------------------------
//
// Function: main()
//
// Title: Driver for RPN Calculator
//
// Description: This file contains function main()
// which creates and starts a calculator
//
// Programmer: Paul Bladek
//
// Date: 5/20/14
//
// Version: 1.0
//
// Environment: Intel Xeon PC
// Software: MS Windows 7 for execution;
// Compiles under Microsoft Visual C++.Net 2010
//
// Calls: CRPNCalc constructor
//
// Returns: EXIT_SUCCESS = successful
//
// History Log:
// 4/205/14 PB completed version 1.0
//----------------------------------------------------------------------------
int main(void)
{
using PB_CALC::CRPNCalc;
CRPNCalc myCalc;
cout << endl << "Press \"enter\" to continue";
cin.get();
return EXIT_SUCCESS;
}