会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bp9jISKIN
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
下一页
2019年9月19日
[LeetCode] error:control reaches end of non-void function[-Werror=return-type]
摘要: 刷 LeetCode 题库时,出现如上报错,代码没问题,本地运行也没问题,可复制到 LeetCode 就报错。 解决方案:在函数的最后添加一条 return 语句,只要返回的类型对即可!(return 0 也行)。 切记:一定要返回,虽然永远也用不上。 参考 https://blog.csdn.ne
阅读全文
posted @ 2019-09-19 09:42 bp9jISKIN
阅读(2155)
评论(0)
推荐(0)
2019年9月12日
git : error: failed to push some refs to xxxxx
摘要: 原因:本地和远程的文件应该合并后才能上传本地的新文件 解决方案: 1、先拉下来,会自动合并的(不用操心) git pull origin master 如果上述代码报错,用: git pull origin master --allow-unrelated-histories 2、再上传 git p
阅读全文
posted @ 2019-09-12 12:50 bp9jISKIN
阅读(210)
评论(0)
推荐(0)
2019年9月11日
atom显示代码折叠线
摘要: 勾选 Show Indent Guide 效果:
阅读全文
posted @ 2019-09-11 20:56 bp9jISKIN
阅读(826)
评论(0)
推荐(0)
2019年9月8日
VSCode更改格式化C++代码方式
摘要: File --> Preference --> setting --> 搜索 clang_format --> 在C_Cpp:Clang_format_fallback Style的输入窗中填入如下代码风格之一: Visual Studio LLVM,Google,Chromuim, Mozilla
阅读全文
posted @ 2019-09-08 22:04 bp9jISKIN
阅读(6208)
评论(0)
推荐(0)
2019年9月7日
必应首页图片下载
摘要: 以 chrome 浏览器为例 第一步: 右键 -> 检查(N) 第二步: 点击如图键头,然后在首页图片中点选一下(确保选中整个图片) 第三步: 在光标定位的上面第二行,有一个节点:data-ultra-definition-src,选中节点后的内容 第四步: 将必应首页地址与节点内容组合在一起,此时
阅读全文
posted @ 2019-09-07 18:55 bp9jISKIN
阅读(1043)
评论(0)
推荐(0)
2019年9月6日
Git报错:fatal: remote origin already exists.
摘要: 1.移除origin 2.再次执行报错的操作
阅读全文
posted @ 2019-09-06 09:36 bp9jISKIN
阅读(144)
评论(0)
推荐(0)
2019年9月2日
sublime text3 自定义代码片段
摘要: 文件保存地址:
阅读全文
posted @ 2019-09-02 09:18 bp9jISKIN
阅读(331)
评论(0)
推荐(0)
2019年8月30日
atom自定义C++代码片段
摘要: file -> snippets: '.source.cpp': 'C++ frame': 'prefix': 'dx' 'body': '''#include <iostream>$2using namespace std;$3int main(){ $1 return 0;} '''
阅读全文
posted @ 2019-08-30 08:46 bp9jISKIN
阅读(189)
评论(0)
推荐(0)
2019年8月28日
vscode 自定义代码片段(snippets)
摘要: "C++ frame": { "prefix": "dx", "body": [ "#include <iostream>$2", "using namespace std;", "", "int main()", "{", "\tsystem(\"cls\");", "", "\t$1", "",
阅读全文
posted @ 2019-08-28 19:43 bp9jISKIN
阅读(760)
评论(0)
推荐(0)
2019年8月24日
`imread` is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use ``imageio.imread`` instead.
摘要: 如题干所述,scipy 里面的 imread 读取图片会出错,代码如下: 报错信息为: 解决方法: 阅读以上报错信息,发现需要调用 imageio.imread ,而 scipy 中没有 scipy.imageio 子模块。 查阅相关信息,了解到,imageio 是一个独立的模块。 代码修改如下:
阅读全文
posted @ 2019-08-24 09:58 bp9jISKIN
阅读(3541)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
下一页
公告