摘要: 比如下面这段代码: char str[3][3] = {"aa","bb","cc"}; char** p = str; char* s1 = str[0]; char* s2 = p[0]; 有什么问题? 我们来看实际的内存布局,str是一个多维数组,它的尺寸实际上是3*3=9个char。 也就是 阅读全文
posted @ 2024-05-18 18:13 火焰龙卷风 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 预计在这里完成一个有便利的提供多个选项的配置脚本,最好还能有可扩展性。 阅读全文
posted @ 2024-05-18 00:58 火焰龙卷风 阅读(4) 评论(0) 推荐(0) 编辑
摘要: miniconda配置 mkdir ~/TOOL cd ~/TOOL wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/TOOL/miniconda.sh bash ./miniconda. 阅读全文
posted @ 2024-05-18 00:35 火焰龙卷风 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 在远程机器上跑VSCode Server,以实现在本地的浏览器上访问的目的 VSCode Server官方教程 # 在远程机器上运行以下命令 mkdir ~/TOOL/code_cli cd ~/TOOL/code_cli curl -Lk 'https://code.visualstudio.co 阅读全文
posted @ 2024-05-18 00:35 火焰龙卷风 阅读(55) 评论(0) 推荐(0) 编辑