23.04.2011, 15:37
(
Последний раз редактировалось Sinner; 23.04.2011 в 17:12.
)
Quote:
I did see why it returned 0 on success, but I was wondering why it could either return -1 or 1. Could you explain that as well?
|
Quote:
At first I thought this was another strcmp/strtok command tutorial, but I'm glad it isn't. I actually never knew how strcmp actually works, just that it works. I learnt something new today. |