Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C - C++ Learning > char** or char*...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4136 of 4218
Post > Topic >>

char** or char*** in function arguments?

by Pat <pkelecy@[EMAIL PROTECTED] > May 3, 2008 at 12:26 PM

What does it mean when a function argument contains multiple "*" - for 
example:

/***************************************/
int GetNameData(char*** faceName)
{
	*faceNames = registeredFaceNames;
	return numOffaceNames;
}
/***************************************/

or

/***************************************/
int AreValuesValid(char ** error, double * paramValues)
{
	<statements>
}
/**************************************?

?

I know a single "*" after a type designation makes it a 
"pointer-to-type", but what about multiple "*" (such as  char***  or 
char **  shown above)? What do those do?

Also, so far I've only seen this used with "char" types.  Is this 
something specific to that type only?

Thanks for any help.
 




 4 Posts in Topic:
char** or char*** in function arguments?
Pat <pkelecy@[EMAIL PR  2008-05-03 12:26:02 
Re: char** or char*** in function arguments?
Ulrich Eckhardt <dooms  2008-05-03 19:21:02 
Re: char** or char*** in function arguments?
Pat <pkelecy@[EMAIL PR  2008-05-04 13:10:09 
Re: char** or char*** in function arguments?
"Jim Langston"   2008-05-04 15:06:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:11:08 CDT 2008.