c++
cxxx17
为什么可乐一定要加冰
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【debug】error: no matching function for call to ‘max‘
code:#include <algorithm>max_freq = std::max(GetMaxFreq(), 10);报错:error: no matching function for call to ‘max’原因是max传入的两个参数数据类型不一致。原创 2022-03-10 19:34:40 · 1185 阅读 · 0 评论 -
【debug】illegal hardware instruction
编译可以通过,运行时报错illegal hardware instruction,发现是vector的index越界了。原创 2021-12-07 20:30:05 · 1549 阅读 · 0 评论
分享