• 大小: 318KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-16
  • 语言: 其他
  • 标签: VS  code  开发  

资源简介

VS code 编译调试 CMake 工程的简单模板。含有配置好的json 文件和cmakelist.txt 文件

资源截图

代码片段和文件信息

#include “linklist.h“
int main()
{

using namespace std;
 

linklist head;
info val1val2val3val4;
val1.id =1val1.name=“Kevin“val2.id=2val2.name=“Cathy“val3.id=3val3.name=“Lucy“val4.id=4val4.name=“Gravin“;

//测试插入功能
cout<<“Insert test:“< head.Inserthead(val1);
head.print();
head.Insert(val21);
head.print();
head.Insert(val34);
head.print();
head.Inserthead(val3);
head.Insert(val42);
head.print();

//测试反序功能
cout<<“reverse test:“< head.reverse();
cout<<“reversed linklist is:“< head.print();

//测试删除功能
cout<<“remove test:“< cout<<“the length of linklist is:“< cout< head.remove(val4);
head.print();
cout<<“the length of linklist is:“< cout< head.remove(val4);
head.print();
return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-27 17:45  temp\
     目录           0  2019-07-27 16:52  temp\.vscode\
     文件         473  2019-07-27 16:53  temp\.vscode\c_cpp_properties.json
     文件         989  2019-07-27 18:16  temp\.vscode\launch.json
     文件        1055  2019-07-27 20:50  temp\.vscode\tasks.json
     目录           0  2019-07-27 20:54  temp\build\
     文件       20625  2019-07-27 20:50  temp\build\CMakeCache.txt
     目录           0  2019-07-27 20:54  temp\build\CMakeFiles\
     目录           0  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\
     文件        2662  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CMakeCCompiler.cmake
     文件        5562  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CMakeCXXCompiler.cmake
     文件       53904  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CMakeDetermineCompilerABI_C.bin
     文件       53913  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CMakeDetermineCompilerABI_CXX.bin
     文件         236  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CMakeRCCompiler.cmake
     文件         395  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CMakeSystem.cmake
     目录           0  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CompilerIdC\
     目录           0  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CompilerIdCXX\
     文件       54048  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CompilerIdCXX\a.exe
     文件       20279  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CompilerIdCXX\CMakeCXXCompilerId.cpp
     目录           0  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CompilerIdCXX\tmp\
     文件       54020  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CompilerIdC\a.exe
     文件       20764  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CompilerIdC\CMakeCCompilerId.c
     目录           0  2019-07-27 20:50  temp\build\CMakeFiles\3.15.0-rc4\CompilerIdC\tmp\
     文件          86  2019-07-27 20:54  temp\build\CMakeFiles\cmake.check_cache
     文件         612  2019-07-27 20:50  temp\build\CMakeFiles\CMakeDirectoryInformation.cmake
     文件       65367  2019-07-27 20:50  temp\build\CMakeFiles\CMakeOutput.log
     文件        1751  2019-07-27 20:54  temp\build\CMakeFiles\CMakeRuleHashes.txt
     目录           0  2019-07-27 20:50  temp\build\CMakeFiles\CMakeTmp\
     目录           0  2019-07-27 20:54  temp\build\CMakeFiles\Continuous.dir\
     文件        2098  2019-07-27 20:50  temp\build\CMakeFiles\Continuous.dir\build.make
     文件         210  2019-07-27 20:54  temp\build\CMakeFiles\Continuous.dir\cmake_clean.cmake
............此处省略185个文件信息

评论

共有 条评论