objective c - How do include a .c file to my ios app? -
i have file.c file want add ios app. renamed file.m, rename main() main2() , included in project in xcode. compiles fine how run main2()?
could please explain in detail? thanks.
more not, main
of original c program going try , set processing loop or otherwise wait kind of input , try process it.
you aren't going able embed 1 entire program in , expect work unmodified. you'll need understand how second program works , integrate functionality first. without seeing implementation of second main
, impossible more.
Comments
Post a Comment