Quote:
In function `int main()':
case label `'N'' within scope of cleanup or variable array
warning: destructor needed for `class ofstream a_file'
warning: where case label appears here
warning: (enclose actions of previous case statements requiring
warning: destructors in their own binding contours.)
jump to case label
crosses initialization of `class ofstream a_file'
`default' label within scope of cleanup or variable array
warning: where case label appears here
jump to case label
crosses initialization of `class ofstream a_file'
`default' label within scope of cleanup or variable array
warning: destructor needed for `class ifstream b_file'
warning: where case label appears here
jump to case label
crosses initialization of `class ifstream b_file'
implicit declaration of function `int setw(...)'
I have never seen any of these errors before, and I can't tell whats causing it because I tried commenting out that new code and it didn't help.