随笔分类 -  C++

C语言错误集合
摘要:1 #include <stdio.h> 2 3 int main() 4 { 5 int i = 5; ✹ 6 printf("%d %d\n",i); / * wrong */ 7 return 0; 8 } View Code trp@DESKTOP-ET7Q9JO:~$ gcc -o t1 阅读全文

posted @ 2021-11-16 18:25 trp 阅读(114) 评论(0) 推荐(0)

cannot edit in read-only editor
摘要:vscode 程序运行时报错: 原因 使用了runcode插件 这个错误一般出现在使用命令行输入的时候出现。 但是output页面是只读的,只能输出,不能用来输入。 解决 解放方法是,将run code设置为在Teminal中运行: File -> Preferences -> Settings 找 阅读全文

posted @ 2020-04-04 09:01 trp 阅读(1499) 评论(0) 推荐(0)

CentOS下C++开发环境搭建
摘要:yum install XXX vim 编辑工具g++ 编译器git 版本控制gdb 调试工具cmake 跨平台构建工具 vim插件的安装 #git clone https://gitee.com/chxuan/vimplus.git ~/.vimplus # cd ~/.vimplus # ./i 阅读全文

posted @ 2020-03-20 19:30 trp 阅读(2676) 评论(0) 推荐(0)

导航