Re: passing a string to a C++ function
- From: red floyd <no.spam@xxxxxxxxx>
- Date: Wed, 05 Oct 2005 10:35:30 -0700
Leo wrote:
Hmm...thanks for a very unhelpful answer.
let me rephrase it:
char items[3]={"tom","***","harry"}
does that satisfy your "remaining 3 pointers fixation"?
No, because item is an array of char, not an array of const char*.
Note that string literals are of type const char *. .
- References:
- passing a string to a C++ function
- From: Leo
- Re: passing a string to a C++ function
- From: Victor Bazarov
- Re: passing a string to a C++ function
- From: Leo
- Re: passing a string to a C++ function
- From: David Webber
- Re: passing a string to a C++ function
- From: Leo
- passing a string to a C++ function
- Prev by Date: Re: LNK2019 error
- Next by Date: Re: wcscoll bug?
- Previous by thread: Re: passing a string to a C++ function
- Next by thread: Re: passing a string to a C++ function
- Index(es):