Quote:
|
Originariamente inviato da -fidel-
Forse ti dice che la funzione è obsoleta (poveracci....  ) perchè vuole farti usare il .NET?
|
dai, per una volta che ha ragione la MS

L'ho giá scritto in questo post:
http://www.hwupgrade.it/forum/showpo...41&postcount=9
dal man di strtok:
Codice:
BUGS
Never use these functions. If you do, note that:
These functions modify their first argument.
These functions cannot be used on constant strings.
The identity of the delimiting character is lost.
The strtok () function uses a static buffer while parsing, so it's not thread safe. Use
strtok_r ()