C11
AndyCheng_hgcc
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c++ 使用Tic/Toc统计程序运行时间的方法
Tic/Toc统计程序运行时间的方法在matlab中见过,最近在学习VINS的过程中也见到了,摘抄如下:#pragma once#include <ctime>#include <cstdlib>#include <chrono>class TicToc{ public: TicToc() { tic(); } void tic() { start = std::chrono原创 2021-03-15 12:02:13 · 3189 阅读 · 2 评论 -
C++11 并发指南五(std::condition_variable 详解)
https://www.cnblogs.com/haippy/p/3252041.html转载 2021-02-18 18:08:38 · 235 阅读 · 0 评论 -
Get to Know C++11 Scoped and Based Enum Types
https://smartbear.com/blog/develop/closer-to-perfection-get-to-know-c11-scoped-and-ba/原创 2019-03-11 19:58:51 · 142 阅读 · 0 评论 -
ubuntu c++ 编译"enum class Status {}" 报错的解决办法
编译的时候报错:分析错误原因,c11才支持enum class Status {}类型定义.接下来的问题就是如何支持c11编译:GCC/G++默认的-std(即C++语言标准)不是C++11,在这里默认的是C++98,所以需要显式地开启,即添加-std=c++11选项:解决方法如下:在编译的时候添加-std=c++11选项即可正常编译C++11标准的代码!...原创 2019-03-11 20:11:30 · 968 阅读 · 0 评论
分享