CC := gccCFLAG := -Wall -g -pthread -lcursesCXX := g++CXXFLAG := -Wall -gLIB := -pthread -std=c++11C_SRCS := $(wildcard *.c) #搜索所有的.c... Read More
posted @ 2016-04-07 20:18 夜色下的港湾 Views(145) Comments(0) Diggs(0) Edit
1#!/bin/bash#case $1 in[Tt]o*)echo tom;;bob | mary )echo xxx;;*)echo ooooo;;esac2#!/bin/bash#PS3="请输入你要的命令"select xx in 'ls -l' pwd datedo$x... Read More
posted @ 2016-04-07 20:10 夜色下的港湾 Views(129) Comments(0) Diggs(0) Edit
1 什么是键值编码 键值编码,key value coding, 简称KVC KVC, 通过字符串间接的获取、改变对象的状态。 2 KVC的基本使用通过字符串获取对象的状态 接口 oc对象的实例方法:- (id)valueForKey:(NSString *)key; 实例 ... Read More
posted @ 2016-04-07 09:14 夜色下的港湾 Views(151) Comments(0) Diggs(0) Edit