Re: strcpy, strtok and strcat problem...
- From: pere.noel@xxxxxxxxxxxxxxxxxxx (Une bévue)
- Date: Thu, 31 Aug 2006 20:24:48 +0200
Dang <dangamit@xxxxxxxxx> wrote:
Hi, if this is the actual code then I can see some issue. In function
"m_raliasrecord_init" you have taken two char pointers target_path_cpy,
target_path_cpy2 and you are directly doing a strcpy. Who is allocation
memory for them?
fine thanks ))
char *pieces[32];
pieces being an array of char, i suppose i need also to malloc each
element of this array ?
--
une bévue
.
- References:
- [newbie] strcpy, strtok and strcat problem...
- From: Une bévue
- Re: strcpy, strtok and strcat problem...
- From: Dang
- [newbie] strcpy, strtok and strcat problem...
- Prev by Date: Re: [newbie] strcpy, strtok and strcat problem...
- Next by Date: Re: Initializing constants
- Previous by thread: Re: strcpy, strtok and strcat problem...
- Next by thread: Re: [newbie] strcpy, strtok and strcat problem...
- Index(es):
Relevant Pages
|