Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
represent value
//gcc 5.0.4 #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSNumber *anInt = [NSNumber numberWithInt:42]; float asFloat = [anInt floatValue]; NSLog(@"%.2f", asFloat); NSString *asString = [anInt stringValue]; NSLog(@"%@", asString); [pool drain]; return 0; }
run
|
edit
|
history
|
help
0
Inheritance Example
inheritenace-test
Ex Srting Methods
Objective C NSSet Declaration
PRogram 3.2 - simple class
Class implementation using get method
Sum Example
NSMutableStringProgram
basic arithmatic Opreation in objective C
linear hybrid cellular automaton reversible random bit generator