摘要:
linux下ls命令(支持-R參数)的c语言实现: #include <stdio.h> #include <sys/types.h> #include <dirent.h> #include <sys/stat.h> #include <pwd.h> #include <grp.h> #inclu 阅读全文
posted @ 2017-08-07 14:22
zhchoutai
阅读(778)
评论(0)
推荐(0)
摘要:
题目描写叙述:http://ac.jobdu.com/problem.php?pid=1512 用两个栈来实现一个队列,完毕队列的Push和Pop操作。 队列中的元素为int类型。 解析: 定义2个栈s1, s2 1. 開始时。将元素push进s1 2. front()或pop()时,将s1的数据, 阅读全文
posted @ 2017-08-07 13:21
zhchoutai
阅读(113)
评论(0)
推荐(0)
摘要:
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>用css3仿制js的弹力效果</title> </head> <body> <style type="text/css"> *{margin:0;padd 阅读全文
posted @ 2017-08-07 12:14
zhchoutai
阅读(448)
评论(0)
推荐(0)
摘要:
问:泛型 T我们常说是类的占位符,可是这个"T"是通过什么机制。来正常执行得到正确的结果呢? 答:泛型是在多态上开花结果的。 举一个简单的样例:男女平均身高是不同的,所以推断男。女身高的标准就不同,可是两者的比較过程是全然一样的。假设我们仅仅写一个比較身高的方法。假设依照男士的平均身高进行推断。那么 阅读全文
posted @ 2017-08-07 11:23
zhchoutai
阅读(572)
评论(0)
推荐(0)
摘要:
- (void)setExtraCellLineHidden: (UITableView *)tableView{ UIView *view =[ [UIView alloc]init]; view.backgroundColor = [UIColor clearColor]; [tableView 阅读全文
posted @ 2017-08-07 09:52
zhchoutai
阅读(582)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>每天一个JavaScript实例-检測表单数据</title> <style> [ro 阅读全文
posted @ 2017-08-07 08:36
zhchoutai
阅读(183)
评论(0)
推荐(0)

浙公网安备 33010602011771号