Converting code 😬 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Converting code 😬

So I’m learning c++ because I’m going to make aaa games for console and also for the App Store but I learned that while iOS can run c++ the controls have to be written in objective c or swift...is there a way to just easily convert code to another language kind of like a translator, I will I have to adjust code line by line.

8th Jul 2018, 5:23 PM
Quadier Mackey
Quadier Mackey - avatar
4 Answers
+ 2
Yeah. The professional way is to manually rewrite it. There probably exists some program which can port basic C++ to Obj-C but it would be very basic and very buggy.
9th Jul 2018, 12:48 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Not really. You have to Port it line by line.
8th Jul 2018, 6:54 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
Ben Allen (Njinx) is that how the larger companies do it?
8th Jul 2018, 7:45 PM
Quadier Mackey
Quadier Mackey - avatar