会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梅老板
博客园
首页
新随笔
联系
订阅
管理
2020年1月26日
C++数组、指针、引用
摘要: 1 int &arr[10]; //arr为引用的数组 2 int (&arr)[10]; //arr为具有10个整数的整型数组的引用 3 4 int *arr[10]; //arr为指针的数组 //arr类型:int *[10] 5 int (*arr)[10]; //arr为具有10个整数的整型
阅读全文
posted @ 2020-01-26 10:02 梅老板
阅读(123)
评论(0)
推荐(0)
2020年1月24日
cout 二进制输出
摘要: 1.cout不支持输出二进制,只支持八进制、十进制、十六进制输出,想输出二进制需要用到bitset 2.每次使用oct、dec、hex之后会将默认输出形式分别改为八进制、十进制、十六进制,而使用 bitset输出二进制后则不会改变 代码如下: 1 #include <iostream> 2 #inc
阅读全文
posted @ 2020-01-24 09:43 梅老板
阅读(6781)
评论(0)
推荐(0)
2019年3月12日
Ubuntu
摘要: https://www.jianshu.com/p/5f456b35c33d
阅读全文
posted @ 2019-03-12 21:53 梅老板
阅读(124)
评论(0)
推荐(0)
Ubuntu18.04设置默认python版本为python3
摘要: https://blog.csdn.net/beijiu5854/article/details/77897767
阅读全文
posted @ 2019-03-12 18:37 梅老板
阅读(1887)
评论(0)
推荐(0)
Ubuntu18.04安装vscode
摘要: 安装vscode: https://linux.cn/article-5423-1.html 配置C++环境: https://blog.csdn.net/xl2432/article/details/77513086
阅读全文
posted @ 2019-03-12 12:04 梅老板
阅读(9253)
评论(0)
推荐(0)
2019年3月3日
clang LLVM 介绍和安装(Ubuntu10 64位)
摘要: http://www.cnblogs.com/2018/p/3464638.html
阅读全文
posted @ 2019-03-03 09:21 梅老板
阅读(379)
评论(0)
推荐(0)
2019年3月1日
vscode使用MinGW-w64和clang开发C++
摘要: https://blog.csdn.net/zhangxiaoshuoyu/article/details/82745950
阅读全文
posted @ 2019-03-01 23:31 梅老板
阅读(803)
评论(0)
推荐(0)
2019年2月15日
python全角与半角
摘要: 全角转半角: https://www.jianshu.com/p/a5d96457c4a4 半角转全角:
阅读全文
posted @ 2019-02-15 14:11 梅老板
阅读(644)
评论(0)
推荐(0)
2019年2月14日
python3中文乱码
摘要: # -*- coding: utf-8 -*- import io import sys sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf-8')
阅读全文
posted @ 2019-02-14 16:40 梅老板
阅读(5160)
评论(0)
推荐(0)
2018年11月2日
Java&eclipse 使用log4j
摘要: (一) 下载jar包 GitHub链接:https://github.com/1160700306/tools/blob/master/log4j-1.2.17.jar (现在官网上说要使用 log4j-api-2.x 和 the log4j-core-2.x jar, 但是试了不行, 所以还是用以
阅读全文
posted @ 2018-11-02 11:06 梅老板
阅读(1421)
评论(0)
推荐(0)
公告