Coder Social home page Coder Social logo

cplusplusproject's People

Contributors

zhangzhikai397 avatar

Watchers

 avatar

cplusplusproject's Issues

三、vscode调试C++程序常用操作

1、默认安装Code runner之后,Output窗口不会随着输出滚动显示,需要如图设置一下:
将下图标记为2的地方,锁打开,这样output窗口就会随着输出滚动显示了。
image

2、

六、git操作常见报错及解决办法FAQ

1、git push 报permission denied

Step01 我们在本地仓库能够正常的从远端仓库pull文件到本地仓库,但是我们从本地push问价难道远程仓库的时候报 ! [remote rejected] master -> master (permission denied) 详细错误如下图所示:

image

可以搜索相关的git凭证缓存博客文章了解;
【参考博文】https://blog.csdn.net/qq_41311259/article/details/81255315
【参考博文】https://www.cnblogs.com/volnet/p/git-credentials.html

Step02 这是应该git配置文件里面已经缓存了上一个仓库的账户和密码,这样他会从目录 ·C:\Users\86136下搜索 配置文件 .gitconfig,一般这个账户密码缓存在 .git-credentials中;因此我们需要清空以前的缓存凭证。那么我们先使用命令 git config --list命令查看配置里面是否配置了credential.helper这一项,于是我在我的系统里面查到了:
image

Step03 那么我们需要将credential.helper配置项删除掉,我们需要删除系统级(system)、全局级(--global)、用户级(--local)三个清空下的配置项;使用如下命令:
git config --system(--global/--local) --unset credential.helper

Step04 删除掉credential.helper配置项之后,我们再使用 git push命令的时候就找不到缓存的账户和密码了,这个时候系统就会提示我们输入github的账户和密码,输入完毕之后就可以正常的push文件到远程仓库了。

image

二、MinGW-w64简介

MinGW(Minimalist GNU for Windows), 是一个适用于微软windows应用程序的极简开发环境。MinGW提供了一个完整的开源编程工具集,适用于原生MS-Windows应用程序的开发,并且不依赖于任何第三方C运行时DLL。MinGW主要供在MS-Windows平台上工作的开发人员使用,但也可跨平台使用,MinGW包括:

GCC的一个移植,包括C,C ++,ADA和FORTRAN编译器;
GNU Binutils (如:as, ld, ar等);
一个命令行安装程序,带有可选的GUI前端,(mingw-get)用于MS-Windows上的MinGW和MSYS部署;
一个GUI首次设置工具(mingw-get-setup),可以帮助启动并运行mingw-get。
Mingw-w64是原始mingw.org项目的升级版,该项目旨在支持Windows系统上的GCC编译器。 它在2007年进行了分支,以便为64位和新API提供支持。 从那以后,它得到了广泛的使用和分发。

作者:若梦儿
链接:https://www.jianshu.com/p/a6e0d1465491
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.