13:05 ET Dow -154.48 at 10309.92, Nasdaq -37.61 at 2138.44, S&P -19.130 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 13:05 ET Dow -154.48 at 10309.92, Nasdaq -37.61 at 2138.44, S&P -19.1313:05 ET Dow -154.48 at 10309.92, Nasdaq -37.61 at 2138.44, S&P -19.13

.

.

Wednesday, July 3, 2013

Audio main.cpp file - in progress

  GNU nano 2.2.6                   File: main.cpp                                          

#include "audio.h"
#include <iostream>

using namespace std;

int main()
{
 int answer;
 int theLoop = 1;
 while(theLoop = 1)
 {

 //cout << "Do you want to enter a patient? 1 for yes. 2 for no. " << "\n";
 //cin >> yesNo;
 //if(yesNo == 1)

 string firstName, lastName, dob;
 cout << "Enter patient last name: ";
 cin >> lastName;
 cout << "\n";
 cout << "Enter patient first name: ";
 cin >> firstName;
 cout << "\n";
 cout << "Enter patient's date of birth: ";
 cin >> dob;
 cout << "\n";
 Audio patient(firstName, lastName, dob);
 cout << "You've created a patient: " << patient.Get_fName();
 cout << " " << patient.Get_lName();
 cout << " " << patient.Get_dob() << "\n";
 cout << "Decibels at 2000 Hz in right ear? ";

 cout << "Do you want to enter a patient? 1 for yes. 2 for no. ";
 cin >> answer;
 if(answer==1)
         continue;
 else
         break;

 }
 cout << "exited the while loop" << "\n";

 return 0;

}