Bug
文章平均质量分 92
学习过程遇到的各种小bug
明教张公子
这个作者很懒,什么都没留下…
展开
-
VS2019的win32控制台哪去了?
VS2019的win32控制台哪去了?问题描述在VS2013中有个叫win32控制台,但是在写项目的过程中,发现这个东西在VS2019中不见了。解决方案第一步:第二步:第三步:OK啦,这就是以前的win32控制台...原创 2021-07-12 19:50:44 · 7383 阅读 · 2 评论 -
E325: ATTENTION Found a swap file by the name “.git/.COMMIT_EDITMSG.swp“
E325: ATTENTION Found a swap file by the name “.git/.COMMIT_EDITMSG.swp”owned by: jrjdated: Tue Apr 13 09:07:36 2021file name: ~jrj/class_72/Linux/.git/COMMIT_EDITMSGmodified: nouser name: jrjhost name: VM-0-4-centosprocess ID: 5047 (still running)Wh原创 2021-04-13 09:49:45 · 785 阅读 · 1 评论 -
Centos7使用man查找命令时,报错No manual entry for xxxx
Centos7使用man查找命令时,报错No manual entry for xxxx说明没有安装manyum install man-pages没有root权限就:sudo yum install man-pages原创 2021-04-12 16:37:41 · 330 阅读 · 0 评论 -
Linux里面密码输入错误怎么办
Linux里面密码输入错误怎么办经常会遇到密码输入错误,退格键明显不能满足需要,解决方法是:快捷键:Ctrl + U即可重新输入原创 2021-04-09 23:43:11 · 1330 阅读 · 1 评论 -
Run git config --global user.email “you@example.com“ git config --global user.name “Your Name“
Run git config --global user.email "you@example.com"git config --global user.name “Your Name”此时需要配置邮箱和姓名即可:分别输入命令: git config --global user.email "邮箱号" git config --global user.name "姓名"即可此时可以看出没有问题...原创 2021-04-09 23:22:22 · 5902 阅读 · 1 评论 -
Not a git repository (or any of the parent directories): .git
Not a git repository (or any of the parent directories): .git在上传代码的时候,遇到报错输入命令git init再输入已解决原创 2021-04-09 23:12:07 · 99 阅读 · 0 评论 -
bash:tree:command not found!
Xshell是一款功能强大的安全终端模拟软件,主要用于远程访问和管理服务器。以下是关于Xshell的详细介绍:软件概述:Xshell支持SSH1、SSH2以及Microsoft Windows平台的TELNET协议,通过互联网到远程主机的安全连接,帮助用户在复杂的网络环境中高效工作。Xshell可以在Windows界面下访问远端不同系统下的服务器,实现远程控制终端的目的。主要特点:多种协议支持:Xshell支持SSH、Telnet、SFTP等多种协议,能够连接各种类型的服务器和网络设备。原创 2021-04-08 08:45:27 · 174 阅读 · 1 评论 -
The remote SSH server rejected X11 forwarding request.Last login: Wed Apr 7 09:03:06 2021 from 117.
The remote SSH server rejected X11 forwarding request.Last login: Wed Apr 7 09:03:06 2021 from 117.36.103.92[jrj@VM-0-4-centos ~]$ gdb helloGNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7Copyright © 2013 Free Software Foundation, Inc.License GPL原创 2021-04-08 08:42:11 · 383 阅读 · 1 评论 -
error: ‘for’ loop initial declarations are only allowed in C99 mode for(int i =0;i<=top;++i)
error: ‘for’ loop initial declarations are only allowed in C99 mode for(int i =0;i<=top;++i) ^hello.c:5:3: note: use option -std=c99 or -std=gnu99 to compile your code解决方案:按照提示给后面加入**-std=c99** 或 -std=gnu99编译通过...原创 2021-04-08 08:24:38 · 187 阅读 · 0 评论 -
centos7 cannot find -lstdc++
cannot find -lstdc++输入以下命令:sudo yum install libstdc++-static安装完成即可原创 2021-03-24 16:59:18 · 404 阅读 · 1 评论