摘要: -(void)main:(NSMutableArray*)srcArray{ NSMutableArray* tempArray=[[NSMutableArray alloc] init]; [self main:srcArray tempArray:tempArray left:0 r... 阅读全文
posted @ 2014-04-17 14:24 learnWindowsPhone 阅读(190) 评论(0) 推荐(0)
摘要: #import "QuickSort.h"@implementation QuickSort-(int)helpMethod:(NSMutableArray*)array left:(int)left right:(int)right{ NSNumber* record=array[left]; while (left=record) { right--; } array[left]=array[right]; while (left<right&&array[left]<=record) { ... 阅读全文
posted @ 2014-02-24 12:40 learnWindowsPhone 阅读(163) 评论(0) 推荐(0)
摘要: 前几天想要这样一个程序,没找到,今天上网偶然发现了,转载过来。 <Grid> <InkPresenter x:Name="MyPresenter" HorizontalAlignment="Left" VerticalAlignment="Top" MouseLeftButtonDown="MyPresenter_MouseLeftButtonDown" LostMouseCapture="MyPresenter_Lost... 阅读全文
posted @ 2012-04-24 21:57 learnWindowsPhone 阅读(289) 评论(0) 推荐(1)