
C++
highmaple
这个作者很懒,什么都没留下…
展开
-
Cmake Practice学习遇到问题
在学习网上流行的Cmake实践即Cmake Practice文档时,自己按照文档都验证了其中的例子和程序,但在最后一章遇到问题并更正记录如下:九,复杂的例子:模块的使用和自定义模块二,编写属于自己的 FindHello 模块。1,定义 cmake/FindHELLO.cmake 模块FIND_PATH(HELLO_INCLUDE_DIR hello.h /usr/include/he...原创 2020-01-08 15:21:59 · 167 阅读 · 0 评论 -
cmake关于自定义gcc安装路径报错问题
linux服务器自定义安装gcc4.8.2为支持学习C++11,使用到cmake时总是报错如下:-- The C compiler identification is unknown-- The CXX compiler identification is GNU 4.8.2-- Check for working C compiler: /home/**/gcc11/gcc-4.8.2/...原创 2019-08-28 14:43:14 · 4559 阅读 · 2 评论 -
1.Two Sum
Two SumCategory Difficulty Likes Dislikesalgorithms Easy (43.81%) 10587 350TagsCompaniesGiven an array of integers, return indices of the two numbers such that they add up to a specific target.Y...原创 2019-09-18 14:53:17 · 120 阅读 · 0 评论 -
2.Add Two Numbers
Add Two NumbersCategory Difficulty Likes Dislikesalgorithms Medium (31.66%) 5950 1551TagsCompaniesYou are given two non-empty linked lists representing two non-negative integers. The digits are s...原创 2019-09-18 14:55:35 · 110 阅读 · 0 评论