Anyone can help me out with C?
strcmp is fucking me over it returns random numbers even tho when the 2 strings are equal and in some cases it even makes the program crash i couldnt really find anything helpful elsewhere... I can post the whole code if necccesary im just curious if anyone got time to help me.
Also anyone knows any alternative solution? (comparing 2 strings without strcmp)
Thanks in adavance.
strcmp is fucking me over it returns random numbers even tho when the 2 strings are equal and in some cases it even makes the program crash i couldnt really find anything helpful elsewhere... I can post the whole code if necccesary im just curious if anyone got time to help me.
Also anyone knows any alternative solution? (comparing 2 strings without strcmp)
Thanks in adavance.