Re: Code completion of member functions / attributes?
Re: Code completion of member functions / attributes?
- Subject: Re: Code completion of member functions / attributes?
- From: David Olbersen <email@hidden>
- Date: Tue, 25 May 2004 13:21:49 -0700
On May 25, 2004, at 10:16 AM, Jonathan del Strother wrote:
I'm programming in C++, and have noticed that auto-complete doesn't
appear to work for the '.' and '->' operator.
I've had this happen in C with typedef's / struct's. I am a C newbie so
I played around with the typedef for a while, and eventually it worked
as expected, though I couldn't tell you why.
Example that works:
-----------------------
typedef struct queue {
QITEM * front;
QITEM * back;
int count;
} QUEUE;
Example that doesn't work:
---------------------------
typedef struct {
QITEM * front;
QITEM * back;
int count;
} QUEUE;
My C isn't that sharp (hah hah, not C#, C-flat, punny!), but I thought
the second version was valid. It does compile correctly but Xcode can't
find anything to complete with. The first one works just fine.
I hope that'll spark some insight with your problem!
--
David Olbersen: Now with 40% less fat!
http://spaz.mootech.net/resume.html
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.