I"m having a bit of an issue with variable redeclaration..and frankly i'm quite confused on this one..because the variable in question is in math.h..and i'm not including math.h and to my knowledge neither is any header file that i'm including in my source..
Heres the beginning part of my code:
Now for some reason I get the error:Code:#include <iostream>//For use of cout and cin for output and input. #include <fstream>//For use of ofstream for text file write. #include <conio.h>//For use of getch() function for keyboard input. #include <stdlib.h>//For use of exit() function for exiting program. int x1, x2, x3, x4; int y1, y2, y3, y4;
int 'y1' redeclared.