#include <windows.h> #include "resource.h" #define ID_TIMER 1 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); TCHAR szAppName[] = TEXT("MenuDemo ...
分类:
其他好文 时间:
2020-12-03 12:21:35
阅读次数:
5
对于多文件的C项目,大部分人会选择使用'cmake'来管理编译过程,对于精力充沛的朋友来说,也可以学习一下使用这个强大的工具。 但我觉得如果只想在VS Code里写几行代码应对当前需求,没必要再去学习一个完全陌生的东西,也没必要把配置过程复杂化。 所以我接下来讲的配置多文件编译的过程并不涉及'cma ...
分类:
系统相关 时间:
2020-12-03 12:19:44
阅读次数:
5
一个Servlet对应有一个ServletConfig对象,可以用来读取初始化参数。 一个webapp对应一个ServletContext对象。 ServletContext对象获取初始化定义的参数。 ServletContext对象可以通过context.getResourceAsStream(" ...
分类:
其他好文 时间:
2020-12-03 12:19:25
阅读次数:
6
1、在cmd模式下,使用npm install vue-resource --save命令进行下载 2、在main.js文件中引用(放入位置有讲究) 3、 get方式 <script> export default({ name:'Home', mounted:function(){ this.$h ...
分类:
其他好文 时间:
2020-12-03 12:04:23
阅读次数:
5
springboot 解决跨域请求,No 'Access-Control-Allow-Origin' header is present on the requested resource ©Copyright 蕃薯耀 2020-11-24 https://www.cnblogs.com/fansh ...
分类:
数据库 时间:
2020-11-27 11:48:01
阅读次数:
26
CORS是一个W3C标准,全称是"跨域资源共享"(Cross-origin resource sharing)。 它允许浏览器向跨源服务器,发出XMLHttpRequest请求,从而克服了AJAX只能同源使用的限制。 本文详细介绍CORS的内部机制。 一、简介 CORS需要浏览器和服务器同时支持。目 ...
分类:
其他好文 时间:
2020-11-26 14:06:40
阅读次数:
5
1.在src下创建一个jdbc.properties文件 url=jdbc:mysql:///demo user=root password=123 driver=com.mysql.jdbc.Driver 2.编写工具类 public class JdbcUtil { private static ...
分类:
数据库 时间:
2020-11-25 12:22:17
阅读次数:
11
[2020-11-20 15:39:11,703] [16792 XNIO-1 task-1(io.undertow.request) : ERROR]io.undertow.servlet.api.LoggingExceptionHandler.handleThrowable(LoggingExc ...
分类:
编程语言 时间:
2020-11-24 12:44:38
阅读次数:
7
[root@wallet01 ~]# su - grid [grid@wallet01 ~]$ crsctl check cluster -all ************************************************************** wallet01: CRS ...
分类:
数据库 时间:
2020-11-24 12:43:06
阅读次数:
10
http://www.myir-tech.com/resource/449.asp http://www.myir-tech.com/product/ds-5-debugger.htm https://blog.csdn.net/jiangchao3392/article/details/10523 ...
分类:
其他好文 时间:
2020-11-24 12:39:29
阅读次数:
7