• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Code completion of member functions / attributes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Code completion of member functions / attributes?
      • From: Greg Pfeil <email@hidden>
References: 
 >Code completion of member functions / attributes? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: Code completion of member functions / attributes?
  • Next by Date: "unable to precompile header"
  • Previous by thread: Re: Code completion of member functions / attributes?
  • Next by thread: Re: Code completion of member functions / attributes?
  • Index(es):
    • Date
    • Thread