会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
于光远
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
19
下一页
2020年6月11日
C++中汉字字符串的截取
摘要: g++ main.cpp 进行编译。 为了解决限定长度的赋值, 如果出现半个中文,则采取截断措施,解决中文乱码问题。 #include <iostream> #include <string.h> #include <stdio.h> using namespace std; #define MAX
阅读全文
posted @ 2020-06-11 16:18 于光远
阅读(1224)
评论(0)
推荐(0)
2020年1月10日
android基础知识清单。
摘要: Android中给button注册事件的四种方法 https://blog.csdn.net/qq_45064049/article/details/90383158 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android
阅读全文
posted @ 2020-01-10 09:47 于光远
阅读(192)
评论(0)
推荐(0)
2019年10月21日
android出现backtrace 定位方法
摘要:
阅读全文
posted @ 2019-10-21 19:59 于光远
阅读(1459)
评论(0)
推荐(0)
2019年10月9日
更改远程仓库
摘要: https://www.jb51.net/article/127941.htm 方法一 通过命令直接修改远程地址 进入git_test根目录 git remote 查看所有远程仓库, git remote xxx 查看指定远程仓库地址 git remote set-url origin http:/
阅读全文
posted @ 2019-10-09 09:21 于光远
阅读(793)
评论(0)
推荐(0)
2019年8月27日
设计模式六大原则
摘要: https://www.cnblogs.com/duanxz/p/3653087.html https://www.cnblogs.com/pangjianxin/p/7877868.html https://blog.csdn.net/konglongdanfo1/article/details/
阅读全文
posted @ 2019-08-27 16:09 于光远
阅读(139)
评论(0)
推荐(0)
2019年8月16日
事件订阅代码
摘要: VariantEvent.h#pragma once #include <functional> #include <map> #include <mutex> #include <future> template<typename... Arguments_> class SVPVariantEvent { public: typedef std::function<void(const Arg
阅读全文
posted @ 2019-08-16 15:19 于光远
阅读(308)
评论(0)
推荐(0)
2019年8月9日
valgrind 查内存泄漏
摘要: 记录一个工具,用法待查。
阅读全文
posted @ 2019-08-09 16:37 于光远
阅读(208)
评论(0)
推荐(0)
2019年7月31日
QNX下进程间通信
摘要: https://blog.csdn.net/dh314552189/article/details/87879016
阅读全文
posted @ 2019-07-31 10:47 于光远
阅读(367)
评论(0)
推荐(0)
2019年7月30日
android stadio gradle问题
摘要: https://www.jianshu.com/p/2bb0b6a7b479 https://www.jianshu.com/p/d175bef9770c Unable to resolve dependency for ':app@debug/compileClasspath': Could no
阅读全文
posted @ 2019-07-30 20:48 于光远
阅读(220)
评论(3)
推荐(0)
2019年7月5日
bash shell下最方便的字符串大小写转换方法
摘要: 用tr需要新增变量,用declare或typeset需要在变量赋值前或者赋值后单独声明,都有些麻烦 此方法为bash 4.0以后新增,bash 4.0 2009年发布 $ test="abcDEF" # 把变量中的第一个字符换成大写 $ echo ${test^}AbcDEF # 把变量中的所有小写
阅读全文
posted @ 2019-07-05 15:48 于光远
阅读(584)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
19
下一页
公告