Created
April 23, 2011 18:07
-
-
Save wanewang/938838 to your computer and use it in GitHub Desktop.
class declaration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface Number : NSObject{ | |
double real; | |
double imaginary; | |
} | |
-(void) setReal : (double) r; | |
-(void) setImaginary : (double) i; | |
-(void) setAll : (double) r : (double) i; | |
-(void) print; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment