⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 registration.cpp

📁 financal instrument pricing using c
💻 CPP
字号:
// Implementation of Registration activity.
//
// Datasim Education BV (c) 2003
// 
// Modification dates:
// 23 July 2003 - MB - Started.
// 29 July 2003 - MB - Reading data from Excel into SimplePropertySet.

#include <iostream>
#include <string>
using namespace std;

#include "ExcelDriver.cpp"
#include "SimplePropertySet.cpp"

// Initialize A, B and N with values from user.
void GetInput(SimplePropertySet<string, double> & input)
{
	try
	{
		ExcelDriver & excel = ExcelDriver::Instance();

		// Add property set.
		excel.AddPropertySet(input);
		excel.MakeVisible();		
		
		// Wait...
		cout << "Enter values in Excel spreadsheet." << endl;
		cout << "When done, make sure cursor is not blinking and type a letter followed by Enter.";
		string abc;
		cin >> abc;

		// Get property set.
		excel.GetPropertySet(input);
	}
	catch( string & error )
	{
		cout << error << endl;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -