#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
int main()
{
ifstream datain;
ofstream infoout;
int x1,y1,x2,y2;
Type: Posts; User: kjs55
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
int main()
{
ifstream datain;
ofstream infoout;
int x1,y1,x2,y2;
now im just getting thearea under the curve is 0 lol...thanks for your help btw! cant explain how much i appreciate it. I think were close to getting it
still getting
737869781502640770.00000
737869781502640770.00000
737869781502640770.00000
737869781502640770.00000
737869781502640770.00000
737869781502640770.00000
737869781502640770.00000...
thanks can u PLZ stick with me for 10 more mins maybe i can get this in on time!
here is the new output
-737869781502640770.00000
-737869781502640770.00000
-737869781502640770.00000...
yeah it did but its completely blank
It says it failed to open the file lol cant even get it to do that. and also i doubt the above makes sense i completely guessed on a lot of it.
The file is saved as xydata.dat on my desktop
...
seriously if you could help me i wil be in debt to you forever. I need to calculate area under a curve using provided x and y coordinates which are to be opened from a document called xydata.dat....