(
Последний раз редактировалось LiamM; 25.04.2013 в 09:02.
)
Edit: I found the solution a while ago, I just forgot to re-post, but I managed to fix this working off of this suggestion
Quote:
Originally Posted by Babul
you could store the "strfound" position of the "_", and subtract it from strlen(name).
if the result>2 (or 3? didnt consider the string end \0, oops) then he last name is long enough?