摘要: 从 Mac App Store 中下载安装,苹果(可能)并不会提供光盘版本。可是,下载的 Lion 是一个安装包,并不能直接往光盘上刻录,所以在这里就需要一点点简单的 “Hack” 技巧,具体步骤如下:从 Mac App Store 中将 Mac OS X Lion 的安装包下载到本地;在安装包上点击右键——显示包内容—— Contents——SharedSupport,然后你会看到 InstallESD.dmg 这个文件;将 InstallESD.dmg 复制到其他地方,比如桌面上;在桌面上的 InstallESD.dmg 图标上点击右键——刻录至光盘,接下来就不用我说了。 阅读全文
posted @ 2013-01-24 18:24 Levi_随云 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 顺序栈的创建 3 4 Levi. 5 */ 6 7 #include <stdio.h> 8 #define DataType char 9 #define StackSize 10010 11 12 typedef struct{13 DataType stack[StackSize];14 int top;15 }SeqStack;16 17 18 void InitStack(SeqStack *S){19 S->top=0;20 }21 22 int StackEmpty(SeqStack S){23 if(S.top==0)24 ... 阅读全文
posted @ 2013-01-24 16:59 Levi_随云 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 头尾插创建链表。 3 4 */ 5 6 7 #include <stdio.h> 8 #include <stdlib.h> 9 #include "sys/malloc.h"10 11 void CreateList(LinkList *L,int n){12 int i;13 LinkList p;14 *L=(LinkList)malloc(sizeof(struct LNode));15 (*L)->next=NULL;16 printf("Please input Link_len = %d : \n" 阅读全文
posted @ 2013-01-24 16:57 Levi_随云 阅读(269) 评论(0) 推荐(0) 编辑