HI guy's a small problem here with a strncmp
Don;t know what's wrong but this doesn;t seem to work as i expect.
when the strings are the same it should print something and when the strings aren't the same it should continue after this code...
if (strncmp (identificatie, arra[f], 3) == 1) //compare array with the string in identification
printf("\n\n\n\n%s\n\n\n",msg18); // They are the same
When i run it it gives me nicely the array with the values and the value in identification, but when they are the same it just continues withouth the msg and when they aren't the same it just continues as well...