#include #include #include #include #include #include "nr.h" using namespace std; // Driver for routine sort3 int main(void) { const int NLEN=64; int i; string txt; string amsg,bmsg,cmsg; Vec_DP a(NLEN),b(NLEN),c(NLEN); ifstream fp("tarray.dat"); amsg = "I'd rather have a bottle in front of me "; amsg += "than a frontal lobotomy."; cout << endl << "original message:" << endl << amsg << endl; // read array of random numbers if (fp.fail()) NR::nrerror("Data file tarray.dat not found"); getline(fp,txt); for (i=0;i> a[i]; // create array b and array c for (i=0;i