上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: 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)
摘要: 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)
摘要: 阅读全文
posted @ 2019-10-21 19:59 于光远 阅读(1459) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 记录一个工具,用法待查。 阅读全文
posted @ 2019-08-09 16:37 于光远 阅读(208) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/dh314552189/article/details/87879016 阅读全文
posted @ 2019-07-31 10:47 于光远 阅读(367) 评论(0) 推荐(0)
摘要: 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)
摘要: 用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 下一页