![![hi, im wondring why i get this error here my code:
#include <iostream>
#include "Stuff.cpp"
using namespace std;
int main()
{
//...
}
//Stuff.cpp
#include <iostream>
#include <string>
using namespace std;
bool Correct_Parent(string x)
{
int p_Left_Counter = 0;
int p_Right_Counter = 0;
for(unsigned int c = 0; c < x.size(); c++)
{
if(x[c] == '(' )
p_Left_Counter++;
else
if(x[c] == ')' )
p_Right_Counter++;
}
if( p_Left_Counter != 0 && p_Right_Counter != 0)
if(p_Left_Counter == p_Right_Counter)
return(true);
return(false);
}
//other stuffs
then when i press f1 on it, its show me vs help then it says must past /force to link command line and it work, my question is: why i get this error and why should i use this /force i wanted just use a file that i put there a function then use it in my main function thak you so much.
(http://prntscr.com/1uhn83)