- 博客(2)
- 收藏
- 关注
原创 2021-06-12
OPEN SUSE 下运行cmake遇到的坑suse下运行cmake 提示No CMAKE_CXX_COMPILER could be found.Tell CMake where to find the compiler by setting either the environmentvariable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full pathto the compiler, or to the comp
2021-06-12 16:52:24 86
原创 C复习。。
复习c的时候重拾或新得的一些点:数组变量是常量指针: eg: int a[] = {....} int b[] = a //错误写法sizeof()用法:在对数组变量使用sizeof()的结果是数组的大小:int a[] = {1, 2, 3, 4, 5, 6, 7 }; printf("%d", sizeof(a)/sizeof(a[0]));// 7,注意一下求数组元素个数的表达式形式函数形参为数组变量的实际传入的实参是int*变 void f(int a[]){..
2021-06-01 16:44:07 45
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人