当使用VC自带的STL string append进行字符串拼接操作的时候,如下所示: // demo.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostrea ...
分类:
编程语言 时间:
2020-12-11 11:45:13
阅读次数:
8
最近公司有一个需求,需要暴露当前web项目的接口给第三方系统调用,网上查到webservice是跨平台、跨语言的应用技术,所以作为首选。 查找了很多例子,都是很简单的加@WebService到类,加@WebMethod到暴露的方法上,然后EndPoint.publish即可,但我在web项目中使用, ...
分类:
编程语言 时间:
2020-12-10 11:32:46
阅读次数:
16
参考 https://www.cnblogs.com/wanmeishenghuo/tag/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/ https://blog.51cto.com/13475106/category6.html 前几节课我们演示了从实模式进入到保护模 ...
分类:
其他好文 时间:
2020-12-09 11:33:58
阅读次数:
4
Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endp ...
分类:
其他好文 时间:
2020-12-04 11:23:41
阅读次数:
6
decltype介绍 为什么需要decltype decltype(auto) 注意(entity) 与模板参数推导和auto推导一样,decltype的结果大多数情况下是正常的,但是也有少部分情况是反直觉的。 decltype介绍 给定一个name或者expression,decltype会告诉你 ...
分类:
编程语言 时间:
2020-12-03 11:29:37
阅读次数:
8
1、数字 int(整型) 在32位机器上,整数的位数为32位,取值范围为-2**31~2**31-1,即-2147483648~2147483647 在64位系统上,整数的位数为64位,取值范围为-2**63~2**63-1,即-9223372036854775808~922337203685477 ...
分类:
编程语言 时间:
2020-11-30 15:51:46
阅读次数:
10
void gridView1_MouseDown(object sender, MouseEventArgs e) { GridHitInfo info; Point pt = winGridView1.gridView1.GridControl.PointToClient(Control.Mous ...
分类:
其他好文 时间:
2020-11-26 15:06:38
阅读次数:
5
一、问题如下: 1、报错信息: Uncaught (in promise) TypeError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': String contains non ISO-8859-1 code point. ...
分类:
Web程序 时间:
2020-11-25 12:12:02
阅读次数:
10
1 2 3 4 5 6 7 8 9 10 F9 resume programe 恢复程序 Alt+F10 show execution point 显示执行断点 F8 Step Over 相当于eclipse的f6 跳到下一步,逐过程,不进入方法 F7 Step Into 相当于eclipse的f5 ...
分类:
其他好文 时间:
2020-11-23 12:23:41
阅读次数:
3
1.子类 1) 定义子类 //假设父类(也叫做超类)是Employee类,用extends来表示继承 public class Manager extends Employee{ //域和方法 private double bonus; //子类的域 ... private void setBonu ...
分类:
编程语言 时间:
2020-11-23 12:08:42
阅读次数:
7