Jump to content

smcguffee

Members
  • Content Count

    1
  • Joined

  • Last visited

About smcguffee

  • Rank
    InsanelyMac Protégé
  1. smcguffee

    Objective C/C++ Pointers using . ?

    Hi, I'm starting to get more comfortable using Objective C++ coming from a C/C++ background. I'm just realizing one of the things that has been confusing me, so I'm wondering if anyone can help me figure it out. Basically what I realized is that pointers in Objective C++ or Objective C can have . operators (?) to access members, but in C and C++, pointers need -> to access members. I notice that when I access my C and C++ members of objective C++ classes (?), I have to use . to access Objective C++ members (properties?), while simultaneously using -> to access C and C++ members. What is going on with this? What is the meaning of using a . on a pointer in Objective C++? Do I simply have to make pointers of objective C++ class pointers to get objects the way I think of them in C++? Thanks in advance, Sean
×