使用vscode编写C/C++代码(官网简单版)官网下载vscodevscode官网下载c++编译器MinGWMinGW官网下载地址也可以使用压缩包,直接解压就可以使用(推荐)MinGW压缩包下载开始安装安装MinGW解压压缩添加环境变量找到安装目录下的bin目录(C:\MinGW\bin),添加到系统环境变量(win7举例)运行cmd检查环境变量是否成功输入g++-v回车注意是在末尾添加英文的分
分类:
编程语言 时间:
2020-07-16 18:19:06
阅读次数:
169
如今,几乎所有的事情都离不开软件,当你开车时,脚踩上油门,实际上是车载计算机通过力度感应等计算输出功率,最终来控制油门,你从未想过这会是某个工程师的代码。
分类:
其他好文 时间:
2020-07-16 18:18:11
阅读次数:
100
Minimum Size Subarray Sum Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which th ...
分类:
其他好文 时间:
2020-07-16 18:17:25
阅读次数:
57
1. 执行 npm install , C:\Program Files\nodejs\MyBook>npm installnpm notice created a lockfile as package-lock.json. You should commit this file. npm WAR ...
分类:
Web程序 时间:
2020-07-16 12:27:14
阅读次数:
188
Git冲突:commit your changes or stash them before you can merge. 解决办法 http://www.aikaiyuan.com/8875.html 用git pull来更新代码的时候,遇到了下面的问题: 1 2 3 4 error: Your ...
分类:
其他好文 时间:
2020-07-16 11:59:47
阅读次数:
75
Given an array, rotate the array to the right by k steps, where k is non-negative. Follow up: Try to come up as many solutions as you can, there are a ...
分类:
其他好文 时间:
2020-07-16 00:20:51
阅读次数:
49
整理自No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 我没用Eclipse,故说明以下两种方法,其中,使用方法一后问题已解决。 方法一:设置环境变量JAV ...
分类:
其他好文 时间:
2020-07-15 23:55:39
阅读次数:
85
# Copyright 2017 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com ...
分类:
其他好文 时间:
2020-07-15 23:06:39
阅读次数:
144
Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they ...
分类:
其他好文 时间:
2020-07-15 01:29:00
阅读次数:
68
Given an array nums with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element. We define an array is non ...
分类:
其他好文 时间:
2020-07-15 01:12:51
阅读次数:
60