How would you read a text file containing the following columns:
x1 y1 x2 y2
1 6 -1 -1
3 6 -2 -4
This is what I have so far...
const string IN_FILENAME = "input.txt";
const string OUT_FILENAME = "inputoutput.txt";
double x1;
double y1;
double x2;
double y2;
string label,
inFile.open(IN_FILENAME.c_str());
outFile.open(OUT_FILENAME.c_str());
inFile >> label;