this is actually a lab that i have to do.
Like the Blue Book question from the last test:
Read a user chosen file of points (use the struct definition below for this) and store them in an array.
Keep prompting the user until the file can be opened.
Assume the file contains two ints per line...
what i am asking is that i cannot figure out what i did wrong. this is not actually a homework. please tell me what did i do wrong. the errors i get are c:\Documents and Settings\narinderpal singh\My Documents\Visual Studio Projects\rec13exam\rec13exam.cpp(96): error C2677: binary '+=' : no...
please help me solving errors in this problem .
#include <iostream>
#include <string>
#include <fstream>
#include <cmath>
#include <cstdlib>
using namespace std;
const size_t CAPACITY(8);
// struct needed for this program.
struct Points {
double x, y;
};
// function prototype...