I'm having trouble figuring out to fix this POLINK error in my code. The error states "unresolved external symbol '_same'. Where is the problem exactly in my code? Everything looks fine to me...
#include <stdio.h>
int same (int a, int b, int c); //function prototype
//Program to calculate if numbers are the same
int main (void)
{
int a, b, c, s;
printf ("Enter three numbers:");
scanf ("%d,%d,%d", &a,&b,&c);
s = same (a,b,c);
etc.
If someone could let me know which line the problem is in..or if I'm missing something, that would be great.
thank you in advance