This site is no longer active and is available for archival purposes only. Registration and login is disabled.

type * variable? what does it mean?


type * variable? what does it mean?

Postby Jadam » Nov 7, 2003 @ 6:06pm

User avatar
Jadam
I'm a STAR!
 
Posts: 3245
Joined: Apr 9, 2002 @ 7:24pm
Location: Stony Brook, NY


Postby Conan » Nov 7, 2003 @ 7:40pm

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Jadam » Nov 7, 2003 @ 8:41pm

User avatar
Jadam
I'm a STAR!
 
Posts: 3245
Joined: Apr 9, 2002 @ 7:24pm
Location: Stony Brook, NY


Postby Presto » Nov 7, 2003 @ 8:42pm

User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby Dan East » Nov 7, 2003 @ 11:17pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby DillRye » Nov 8, 2003 @ 3:32am

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.
User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby mlepage » Nov 8, 2003 @ 4:34am

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby damian » Nov 8, 2003 @ 5:07am

damian
pm Insider
 
Posts: 3960
Joined: Sep 3, 2002 @ 7:59pm
Location: Acton, MA (home), NYC (school)


Postby denthorq » Nov 8, 2003 @ 5:30am

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
It's worth the wait...
User avatar
denthorq
pm Insider
 
Posts: 447
Joined: Apr 18, 2003 @ 9:15pm
Location: USA-PHILIPPINES


Postby Jadam » Nov 8, 2003 @ 5:31am

User avatar
Jadam
I'm a STAR!
 
Posts: 3245
Joined: Apr 9, 2002 @ 7:24pm
Location: Stony Brook, NY


Postby Andy » Nov 8, 2003 @ 7:23am

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)
Andy
<font color=red size=3>Troll++</font>
 
Posts: 1288
Joined: Nov 1, 2003 @ 7:36am


Postby Dan East » Nov 8, 2003 @ 8:25am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Andy » Nov 8, 2003 @ 9:34am

Last edited by Andy on Nov 8, 2003 @ 11:26pm, edited 1 time in total.
Andy
<font color=red size=3>Troll++</font>
 
Posts: 1288
Joined: Nov 1, 2003 @ 7:36am


Postby fzammetti » Nov 8, 2003 @ 4:05pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby ktemkin » Nov 8, 2003 @ 5:05pm

User avatar
ktemkin
pm Member
 
Posts: 1209
Joined: May 21, 2002 @ 9:51pm
Location: Smithtown, NY


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron