Passing String to Function
- From: "jconnort@xxxxxxxxxxxxxxxx" <jconnort@xxxxxxxxxxxxxxxx>
- Date: 31 Dec 2005 06:54:14 -0800
I'm sure this is newbie but I've done some searching on this and
haven't found the exact same situation. Basically, I'm trying to pass a
string to a function where it get's built up (it's supposed to be a
where clause for a a database query) and in the called function it
get's built up with malloc as necessary. The problem is, I can't get it
to have the proper value when it comes back to the called function.
Initially, it's just a pointer to char. Can anyone point me to an FAQ
or some such ? Thanks...
.
- Follow-Ups:
- Re: Passing String to Function
- From: Flash Gordon
- Re: Passing String to Function
- Prev by Date: Re: Adding the ability to add functions into structures?
- Next by Date: Re: String reversing problem
- Previous by thread: An Link Error
- Next by thread: Re: Passing String to Function
- Index(es):
Relevant Pages
|