J
John
I keep getting "error C2065: 'p' : undeclared identifier" (it's the same for
t, d, t1, etc...), while using the following programming.
#include <iostream.h>
#include <stdlib.h>
#include <math.h>
#include <iomanip.h>
#include <fstream.h>
int main()
{
fstream suture("SUTURE.dat", ios::in)
double temp;
double pressure;
double dwell;
suture >> batch >> temp >> pressure >> dwell;
double t;
double t1
if (temp<150, temp>170)
++t;
t1=(t*20);
double p;
double p1;
if (pressure<60, pressure>70)
++p;
p1=(p*20);
double d;
double d1;
if (dwell<2, dwell>2.5)
++d;
d1=(d*20);
}
I basically need to import the suture file and come up with rejection
percentages. As far as I can tell, I've identified everything with the
double floater. Any thoughts? TIA
t, d, t1, etc...), while using the following programming.
#include <iostream.h>
#include <stdlib.h>
#include <math.h>
#include <iomanip.h>
#include <fstream.h>
int main()
{
fstream suture("SUTURE.dat", ios::in)
double temp;
double pressure;
double dwell;
suture >> batch >> temp >> pressure >> dwell;
double t;
double t1
if (temp<150, temp>170)
++t;
t1=(t*20);
double p;
double p1;
if (pressure<60, pressure>70)
++p;
p1=(p*20);
double d;
double d1;
if (dwell<2, dwell>2.5)
++d;
d1=(d*20);
}
I basically need to import the suture file and come up with rejection
percentages. As far as I can tell, I've identified everything with the
double floater. Any thoughts? TIA