The starred lines below are throwing back the following error:
error: scalar object 'paper' requires one element in initializer
Any idea what might be causing this? This seems like a relatively straightforward initialization.
int main(){
double paper [] = {8.0, 11.0};//***
double box [] = {6.0, 10.0};//***
paperFold pf;
cout << pf.numFolds(paper,box) << endl;
return 0;
}
paperFold? Anyway, array code seems fine, what compiler are you using?