Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1054999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:29:37+00:00 2026-05-16T17:29:37+00:00

I hope this has a technical (rather than a religious) answer, but I wonder

  • 0

I hope this has a technical (rather than a religious) answer, but I wonder if I should use Objective-C or C++ to create an OpenGL ES Application on the iPad?

As the ultimate goal would be to compile it on Windows and OS X as well, I’m inclined to use C++ (and only use ObjC for the stuff that I have to: App Delegate etc.), but I have zero experience with Objective-C Development.

Can I interact with C++ Classes from Objective-C? Is there any compelling reason to use ObjC over C++?

Or should I just use plain old C?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:29:38+00:00Added an answer on May 16, 2026 at 5:29 pm

    You can, it’s called Objective-C++ and all you need to do is ensure your source files have a .mm extension for them to be treated as mixed Objective-C/C++ source files.

    That said, generally speaking if you’re aim is cross platform GLES support, try and write it in C++ for the common things, and anything else, Objective-C (where you need to do things like set up your EAGLLayer etc.). This is likely to work out the best for your purposes, as I presume you’re already familiar with C++.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've seen this answer, and I wonder (I hope) if C++11 has come up
This has been driving me nuts. I hope it's not been asked before but
This question has been asked before somewhat, but I hope mine differs. My situation
Hope someone has an easy answer on this. I have a header image which
I hope this question has an obvious answer to anyone who knows his way
I hope this question has a simple answer. I am trying to add a
I hope this has not been covered before, but if I compile a 32-bit
I hope this question has not been asked yet, but I want to know
I hope this is easy to spot. This query has a synatx error; public
I hope this question is not 'controversial' - I'm just basically asking - has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.