Home Forums C Programming Linker Errors, i do believe i need help Re: Re: Linker Errors, i do believe i need help

#3526
JonathaThurston
Participant

When your using an if/else statement you can’t give a condition to the else instead you should use else if(condition).


if(i != x){
...
}
else if(i == j){
...
}
else(){
...
}

Also your calling int count at the start of the function and again at the start of your do/while loop.