摘要: make 用来解析 makefile 文件make 的选项:-d显示调试信息-f 文件默认是从 makefile 或 Makefile 中读取依赖信息,用该选项可更改文件-h显示所有 makefile 的 help 信息-n显示 makefile 执行命令的顺序,但不执行-s运行时不显示任何信息ma... 阅读全文
posted @ 2016-01-15 16:43 goodhx 阅读(415) 评论(0) 推荐(0) 编辑
摘要: C++11包含一种新的 for 循环,称为基于范围的 for 循环,可以简化对数组元素的遍历。格式如下:1 for(Type VarName : Array){2 //每个元素的值会依次赋给 VarName3 }例如:1 int array[] = {1, 2, 3, 4};2 for(int... 阅读全文
posted @ 2016-01-15 10:41 goodhx 阅读(5429) 评论(1) 推荐(1) 编辑