I am trying to use cin.get() to pause a loop on every time around.
prodAtr.h:
#ifndef PRODATR
#define PRODATR
#include <array>
#include <vector>
#include <string>
extern std::array<std::string, 6> sProductType = { //Array contents here };
extern std::vector<std::vector<double>> nProductRates = {
    { //Array contents here },
    { //Array contents here },
    { //Array contents here },
    { //Array contents here },
    { //Array contents here },
    { //Array contents here }
};
#endif
Wholesale.cpp:
#include "stdafx.h"
#include <iostream>
#include "prodAtr.h"
int ShowProdOpt();
float GetCost();
void CalulateTiers(float, int);
int main()
{
    using namespace std;
    float fCost = GetCost();
    cout << endl;
    int nOptChoice = ShowProdOpt();
    CalulateTiers(fCost, nOptChoice);
    return 0;
}
int ShowProdOpt()
{
    using namespace std;
    cout << "Please select you product type: " << endl;
    for (unsigned int i = 0; i < sProductType.size(); i++)
    {
        cout << "[" << i + 1 << "]" << sProductType[i] << " ";
    }
    cout << endl;
    int nResult;
    cin >> nResult;
    return nResult;
}
float GetCost()
{
    float fCost;
    std::cout << "What is the cost? $";
    std::cin >> fCost;
    return fCost;
}
void CalulateTiers(float fCost, int nType)
{
    using namespace std;
    int iii = 0;
    while(iii < 10)
    {
        int jjj = iii + 1;
        float fPrice = floor(((nProductRates[nType - 1][iii] * fCost) + fCost) * 100 + 0.5) / 100;
        cout << "Tier[" << jjj << "]: $" << fPrice << endl;
        cin.get();
        iii++;
    }
}
VS 2013 log output (minus file loc info):
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
But my result is:
Tier[1]: $1.34
Tier[2]: $1.22
then cin.get() seems to pause and work properly from there.
How do I get cin.get() to pause after every execution of the loop?
 
     
    