Tuesday, December 3, 2013

O-C definition of the function of the new questions?

OC about the function definition format is like this :-( int) f: (int) x g: (int) y
But I see written on like this tutorial can ah? I do not know why, but I will look into the above error! ! !
Reply:

Reply:
Ye no answer ah. . . . Cry for help
Reply:
xcode support c / c + + mixed, they are able to write like that tutorial. But objc wording is - (int) f: (int) x g: (int) y like that. You need to define and local calls are changed objc grammar on it. I guess you just have to change the definition. main which also calls
Reply:
Should not be put, there is no error in the function definition inside the @ interface
Reply:
Oh, that you get hold of objc class to write objc grammar inside. Your example is c + + classes.
Reply:
oc c function support similar wording, do not know what's wrong with your newspaper
Reply:

The above definition of the kind of error, the following will normally
Reply:
This function is not a problem.
The problem is that you should not write in the main this location.
There can only be a C function.
You are following the standard C function.
Above the surface, as if the object is called an instance method in [I understood]

The above approach is that object-c expansion syntax. So you go to write a suffix. H and. M paired file.
. H in written statement. . M file before writing you this method.

No professional terminology. I wonder if such an explanation does not understand?

Reply:
Given points less, no one wants to reply to it.
Reply:
Estimate is defined in the header file does not match, the best by Objc define and implement a standard format, so it will save a lot of trouble

No comments:

Post a Comment