convert objective-c code to c++ [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I constructed my code in objective-c for ios in-app purchasing.
There is one project needs c++ code.
Just wonder if I change iap objective-c code to c++,
is there any special point I need to notice?
Your comment welcome

You cannot use Objective-C objects in C++. But C++ can use Objective-C library with C interface. Objective-C++ can use Objective-C objects in C++ too.

Related

How do I add Lua to a C++ Project [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
1) How do I add Lua to a C++ project in microsoft visual studio 2017. I have downloaded all the Lua files but I need to Add Lua to the project properties.
2) Whats the main difference between C++ and C
3) Which language is best to create a GUI, Lua, C, C# or C++.
Thanks in advance
Questions 2) and 3) aren't really stackoverflow questions. As for 1), the book Programming in Lua does a pretty good job at explaining that, at least the basics. From there you can just read the reference and see what functions you may find useful.

Roslyn C# Code Generator [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to write a compiler or code generator that will read CI from compiled C# code assembly and return all the classes together with entire syntax tree.
How can I do this using Roslyn?
No, you cannot. Roslyn cannot take a compiled assembly and convert that back into source code. It's a compiler, not a decompiler.

C/C++ with objective C [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to put C/C++ code into Objective C programs.
What's the exact way to do that ?
I've tried many times.
So, if someone know how to that, please explain the way from zero (from a empty project) and give me some class examples ;)
(i work on Xcode 5.0.2)
Thank you !
Using XCode, rename the file extension of the files with C++ code from .m to .mm for C++.
Objective C is a superset of C, so pure C code will compile without any required changes.

Creating a python library in C or C++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Can C or C++ be used to program a library in python? I know that python can be used to write a library but I am wondering if C or C++ can be used.
Definitely. There are lots of high performance libraries written in C (simplejson being a notable and fairly simple example.)
See http://wiki.python.org/moin/IntegratingPythonWithOtherLanguages

merge objective c project and objective c++ project [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
is it possible to merge objective c project with c++ project aurioTouchhttp://developer.apple.com/library/ios/#samplecode/aurioTouch/Introduction/Intro.html
Yes, because: There is no such thing as an "Objective-C project" or "Objective-C++ project", there are just projects that contain source files.
You can mix Obj-C, Obj-C++, C, and C++ source files all in one project, and (in general) Xcode will do the right thing. Do you have a specific problem?