2018年8月2日

摘要: 两种方式: 阅读全文

posted @ 2018-08-02 20:51 yacbo 阅读(129) 评论(0) 推荐(0) 编辑

摘要: https://blog.csdn.net/zeqiao/article/details/77893167 一、在原有旧项目中引入 1.新建C/C++源码文件夹和文件 main>>cpp 文件夹下加源码 2.编写CMakeLists.txt文件 3.配置build.gradle文件 注意点:①要在哪 阅读全文

posted @ 2018-08-02 09:42 yacbo 阅读(138) 评论(0) 推荐(0) 编辑


2018年8月1日

摘要: ①[ ] 用它来存储矩阵和向量。example: a=[1,2,3] a=[1 2 3;4 5 6;7 8 9] ②{ } 大括号,用于cell(单元数组)型数组的分配或引用。example: c={'chian','中国',[1 2 3 4]} ③( )小括号,用于引用数组的元素。 X(3)表示X 阅读全文

posted @ 2018-08-01 22:38 yacbo 阅读(352) 评论(0) 推荐(0) 编辑

摘要: apply plugin: 'com.android.application' android { compileSdkVersion 26 defaultConfig { applicationId "com.example.lenovo.cmakedemo" minSdkVersion 21 t 阅读全文

posted @ 2018-08-01 19:26 yacbo 阅读(147) 评论(0) 推荐(0) 编辑


2018年7月26日

摘要: 1.静态全局变量 特点:作用域在声明此变量的文件中,其他文件即使使用extern关键字修饰其声明也不可使用 2.静态局部变量 特点:内存存放在 程序的全局数据区中;只会被初始化一次,其后运行到该对象的声明是不会再初始化;不能被其作用域之外的其他模块调用,其调用范围仅限于声明该变量的函数作用域当中。 阅读全文

posted @ 2018-07-26 11:06 yacbo 阅读(158) 评论(0) 推荐(0) 编辑


2018年7月18日

摘要: 二进制的文件读写 rb与 rb+ rb:为输入打开一个二进制文件; rb+ 指为读写打开一个二进制文件; rb为只读,对于不需要进行更新的文件,可以防止用户的错误的写回操作,防止损毁原有数据。具有较高的安全性~~~ rb+为更新二进制文件,可以读取,同时也可以写入,需要用到fseek之类的函数进行配 阅读全文

posted @ 2018-07-18 11:04 yacbo 阅读(1688) 评论(0) 推荐(0) 编辑


2018年7月12日

摘要: c++中添加一个头文件 include “engine.h”后可以使用matlab引擎提供的一些常用函数。 engOpen() 、engClose() engSetVisible() engGetVariable() engPutVariable() engEvalString() Engine * 阅读全文

posted @ 2018-07-12 19:52 yacbo 阅读(223) 评论(0) 推荐(0) 编辑


2018年6月20日

摘要: 1. --distinct去重,like模糊查询 select distinct * from table1 where table1.id like '%123%' 2.要查询整个表,并添加一个虚列,列名为Gender,填充值为null,可用如下语句: select *,null Gender f 阅读全文

posted @ 2018-06-20 14:20 yacbo 阅读(881) 评论(0) 推荐(0) 编辑


2018年6月14日

摘要: 1 #endregion 2 3 #region 告警统计 4 /// 5 /// 获取天、周、月、年起始时间 6 /// 7 public List GetListDate() 8 { 9 try ... 阅读全文

posted @ 2018-06-14 10:01 yacbo 阅读(293) 评论(0) 推荐(0) 编辑


2018年6月6日

摘要: http://127.0.0.1:8080/eg_web/roadPassManage/queryVisitor?doorGuid=&&name=&&cardNo=&&gender=&&fromTime=&&toTime=2018-06-05 阅读全文

posted @ 2018-06-06 19:42 yacbo 阅读(659) 评论(0) 推荐(0) 编辑


Copyright © 2024 yacbo
Powered by .NET 8.0 on Kubernetes