Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

iOS and MacOS / Adding c++ files to Xcode

Author
Message
Max123
8
Years of Service
User Offline
Joined: 22nd Mar 2016
Location:
Posted: 23rd Apr 2016 19:02
Hello,
I haven't found any thread on this forum or a solution yet and if there is one, it would be very nice if you could provide the link to it.
The problem I'm currently having is already stated in the headline: How can I add C++ files to Xcode and use them as an addition to template.cpp? Actually I know
how to add the file itself, this isn't the actual problem, but when I type in some code in this newly added file I get always confronted with errors and I don't know what I'm doing wrong.
I hope someone can help me out.
RobbSnow
9
Years of Service
User Offline
Joined: 14th Oct 2015
Location:
Posted: 8th Jun 2016 16:51
Make sure to set the file types in Xcode to Objective-C++ for new cpp files. That got rid of my errors

Login to post a reply

Server time is: 2024-11-21 13:55:10
Your offset time is: 2024-11-21 13:55:10