Page 1 of 3
type * variable? what does it mean?

Posted:
Nov 7, 2003 @ 6:06pm
by Jadam

Posted:
Nov 7, 2003 @ 7:40pm
by Conan

Posted:
Nov 7, 2003 @ 8:41pm
by Jadam

Posted:
Nov 7, 2003 @ 8:42pm
by Presto

Posted:
Nov 7, 2003 @ 11:17pm
by Dan East

Posted:
Nov 8, 2003 @ 3:32am
by DillRye
Uh oh, another where do I put the * argument.
I do recall that Dan can stop it if it starts though, he had a really good example of why it should be int *variable instead of int* variable.
Of course as he said, C will treat it the same way.

Posted:
Nov 8, 2003 @ 4:34am
by mlepage

Posted:
Nov 8, 2003 @ 5:07am
by damian

Posted:
Nov 8, 2003 @ 5:30am
by denthorq
Speaking of an asterisk (*):
I remember during the Windows days where you need to type a password before you login which displays * on the password field.
My friend cant get into the Windows... and suddenly asked me: How many * is your password?
hehe

Posted:
Nov 8, 2003 @ 5:31am
by Jadam

Posted:
Nov 8, 2003 @ 7:23am
by Andy
You would be setting up a function that returns a pointer to char. You can set up pointers to functions, though. Off the top of my head: I think it would be:
char *(Dummy::*ptrname)(blah blah);
( I can't see things between code tags, so the names might not be right)

Posted:
Nov 8, 2003 @ 8:25am
by Dan East

Posted:
Nov 8, 2003 @ 9:34am
by Andy

Posted:
Nov 8, 2003 @ 4:05pm
by fzammetti

Posted:
Nov 8, 2003 @ 5:05pm
by ktemkin