![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Cplusplus
文章平均质量分 71
「已注销」
这个作者很懒,什么都没留下…
展开
-
折叠表达式C++17
template<class T> auto unary_left_fold(T ...args){ // op(op(op(1,2),3),4) // op: +, -, *, /, %, ^, &, |, <<, >>, // =, +=, -=, *=, /=, %=, ^=, &=, |=, <&l...原创 2019-01-17 01:10:57 · 1065 阅读 · 0 评论 -
MinGW-W64安装及其使用
文章目录MinGW-W64安装离线模式安装在线模式安装MinGW-W64使用参考文献 MinGW-W64安装 离线模式安装 这里是链接 注意:可能需要挂代理,才能从下面的网址下载 下载完,直接解压,然后配置一下系统变量就可以,即将./bin 添加到PATH里面 在线模式安装 http://www.mingw-w64.org/ MinGW-W64使用 预处理 g++ -E test.cpp -o...转载 2019-01-27 10:15:32 · 13639 阅读 · 0 评论 -
boost编译与安装,windows
一、下载boost最新版本的库: https://www.boost.org/ 二、解压到 D:\boost 三、打开Visual Studio的控制台,即【开始】-【所有程序】-【Visual Studio X xxxx】-【xxxxx】 vs安装时不会为库,头文件配置环境变量,用Windows CMD会导致&amp;amp;amp;quot;no such file or directory ‘cstddef’&amp;amp;amp;quot;等错误 ..原创 2018-12-25 20:36:42 · 903 阅读 · 0 评论 -
C++内置数组和数组容器的不同点
#include<iostream> #include<iterator> #include<algorithm> int main(){ using namespace std; int array[3]{ 0,1,2 }; cout << "array: "; copy(array, array + 3, ostream_iterato...原创 2018-05-21 21:48:53 · 588 阅读 · 0 评论