Monday, May 2, 2011

Struct in ObjC

// in interface
struct fruit {
int a;
};
// in implementation
int main()
{
struct fruit apple;
apple.a = 1;

return 0;
}

No comments:

FEEDJIT Live