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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
FEEDJIT Live
No comments:
Post a Comment