Re: [newbie] strcpy, strtok and strcat problem...
- From: Michael Mair <Michael.Mair@xxxxxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 20:58:15 +0200
CBFalconer schrieb:
Une bévue wrote:<snip>in order not to change an input string i strcpy it to be able to
use strtok and strcat with it, for another reason, i need a second
copy of this string, however, after strtok and strcat with the
first, the second does have exactly the same value, here is the
small piece of code for that part :
You have some problems here. First, strtok is not a standard
function,
Either you are wrong or my standards are broken:
ISO9899:1999 "7.21.5.8 The strtok function"
C89 draft: "4.11.5.8 The strtok function"
(the ISO9899:1990 is at work but I can look it up tomorrow
if you wish).
The rest of your article, of course, is correct but essentially
only advertisement for your code without addressing the
immediate problem.
Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
.
- References:
- [newbie] strcpy, strtok and strcat problem...
- From: Une bévue
- Re: [newbie] strcpy, strtok and strcat problem...
- From: CBFalconer
- [newbie] strcpy, strtok and strcat problem...
- Prev by Date: Re: [newbie] strcpy, strtok and strcat problem...
- Next by Date: Re: [Newbie] changing allocated memory
- Previous by thread: Re: [newbie] strcpy, strtok and strcat problem...
- Next by thread: Re: [newbie] strcpy, strtok and strcat problem...
- Index(es):
Relevant Pages
|