I am creating a code, and I'm getting this weird error. I'm sure its a stupid mistake, but I can find it.
multiple definition of `Start()'
first defined here
ld returned 1 exit status
C:\Documents and Settings\Andrew\My Documents\projects\equation\Makefile.win [Build Error] [equation.exe] Error 1
And here is the code:
using namespace std;
void Start ();
int e, ecount, multiplicator, mcount, answer;
void
Start ()
{
e = 0;
ecount = 0;
cout << "Welcome to X-solve. This program is designed to solve almost any mathamatical equation that \n includes a variable. For example: 6*x=12. The program would then solve x, which would be 2.\n\n";
cout << "To start, enter the outcome to the equation: (for example, 6*x=12. 12 would be the outcome)\n";
cin >> ecount;
e = ecount;
cout << "Thanks! Now enter the multiplicator: (6*x=12. 6 would be the multiplicator)\n";
cin >> mcount;
multiplicator = mcount;
answer = e/multiplicator;
cout << "Finished.\n " << multiplicator << "*x=" << e << "\n x=" << answer << "";
}