Created
October 30, 2011 16:32
-
-
Save ozkanozcan/1326088 to your computer and use it in GitHub Desktop.
//girilen metnin karakterlerini alt alta yazdıran programı yazınız.
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
#import <Foundation/Foundation.h> | |
int main (int argc, const char * argv[]) | |
{ | |
//girilen metnin karakterlerini alt alta yazdıran programı yazınız. | |
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; | |
NSString * metin = @"ALT ALTA YAZI"; | |
for (int i=0; i<[metin length]; i++) | |
{ NSLog(@"%@",[metin substringWithRange:NSMakeRange(i,1)]);} | |
[pool drain]; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment