Your project does not reference ".NETFramework,Version=v4.5" framework. Add a reference to ".NETFramework,Version=v4.5" in the "TargetFrameworks" prop... ...
分类:
Web程序 时间:
2019-11-01 15:56:22
阅读次数:
105
WeakReference继承Reference,其中只有两个构造函数: ...
分类:
其他好文 时间:
2019-11-01 13:01:44
阅读次数:
87
使用wkwebview时,push后,再pop返回,报错 Cannot form weak reference to instance (xxxx) of class xxxx. It is possible that this object was over-released, or is in ...
分类:
Web程序 时间:
2019-10-31 18:39:18
阅读次数:
155
1. 错误信息 1. 错误信息 1. 错误信息 1. 错误信息 1. 错误信息 1. 错误信息 1. 错误信息 1. 错误信息 在Makefile里,定义CC为"aarch64-linux-gnu-g++ --sysroot=$(MPSOC_ROOTFS)",编译test.cpp,没有错误。如果使用 ...
分类:
其他好文 时间:
2019-10-31 16:19:09
阅读次数:
362
#include <iostream> 2 3 using namespace std; 4 5 int main() 6 { 7 8 int a=1; 9 int b=2;10 int &ra = a;11 int *ptr = &a;12 /*13 *1.decltype对于括号和解引用操作符* ...
分类:
编程语言 时间:
2019-10-29 11:49:05
阅读次数:
84
Spring 总结 在Spring框架的发布版本中,共包含了20个不同的模块,可以划分为6类不同的功能。 Spring整体架构图 为了降低Java开发的复杂性,Spring采取了以下4种关键策略: 基于POJO的轻量级和最小侵入性编程; 通过依赖注入和面向接口实现松耦合; 基于切面和惯例进行声明式编 ...
分类:
编程语言 时间:
2019-10-28 20:34:33
阅读次数:
84
前面我们讲到wordpress如何调用指定page页面内容,现在再用另外的方法来调试一下,可以直接在single.php模板使用,同样可以调用多id,随ytkah一起来看看 详细的参数 参考资料:https://codex.wordpress.org/Function_Reference/get_p ...
分类:
其他好文 时间:
2019-10-28 15:02:22
阅读次数:
141
Spring Boot 与 Java 对应版本,以下表格由官方网站总结。 官网:https://spring.io/projects/spring-boot#learn https://docs.spring.io/spring-boot/docs/{verion}/reference/htmlsi ...
分类:
编程语言 时间:
2019-10-27 10:30:25
阅读次数:
118
参考资料:https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/core.html#beans-dependencies 1. Spring依赖关系注入基本方式 1.1 构造方法 官方文档:ht ...
分类:
编程语言 时间:
2019-10-26 22:54:26
阅读次数:
96
1.作用域 通过var定义的变量,作用域是整个封闭函数,是全域的 。通过let定义的变量,作用域是在块级或是子块中。 for (let i = 0; i < 10; i++) { // ... } console.log(i); // ReferenceError: i is not defined ...
分类:
Web程序 时间:
2019-10-26 19:27:14
阅读次数:
115