Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
shape example
//gcc 5.0.4 #import <Foundation/Foundation.h> @interface Shape :NSObject { NsString *color } -(void)getArea; @end @implementation Shape -(void)getArea { } @end @interface Rectangle : Shape { NsString *color } -(void)getArea; @end @implementation Shape -(void)getArea { } @end int main (int argc, const char * argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSLog (@"Hello, World!"); [pool drain]; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
NSNumber
Program 2.2
basic arithmatic Opreation in objective C
arary
array
Objective C NSSet Declaration
string search
floating in objective c
Author1
NSMutable Example
Please log in to post a comment.