1.Conversion Function 转换函数 class Fraction{ public: operator double() const { //转换不可能改变类里的成员,通常加上const return (double)(m_numerator / m_denominator); }/ ...
分类:
编程语言 时间:
2016-05-30 23:05:39
阅读次数:
354
1021 - Painful Bases PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBAs you know that sometimes base conversion is a painful ...
分类:
其他好文 时间:
2016-05-30 21:22:04
阅读次数:
229
1 前言
当前有越来越多的可穿戴设备使用了蓝牙4.0 BLE(Bluetooth Low Energy)。对于iOS开发而言,Apple之前专门推出CoreBluetooth的Framework来支持BLE的开发。对于硬件开发有了解的朋友应该知道,在之前使用低版本的蓝牙的设备,要连接到iOS设备上,需要注册MFI,拥有MFI协议才能进行相应的开发。如果大家关注我之前对LEGO
EV3的研...
分类:
其他好文 时间:
2016-05-30 15:14:08
阅读次数:
314
启动PL/SQL Developer 报字符编码不一致错误 Database character set (AL32UTF8) and Client character set (ZHS16GBK) are different.Character set conversion may cause u ...
分类:
数据库 时间:
2016-05-29 15:12:44
阅读次数:
265
今天写hibernate时候遇到一些异常 代码: 出现异常情况: 出现以上原因是Session关闭 如果不是使用的SessionFactory.getSession()来获得Session。 而是使用SessionFactory.getCurrentSession()方法来获得Session时,当事 ...
分类:
数据库 时间:
2016-05-29 14:58:02
阅读次数:
368
题目链接:https://leetcode.com/problems/zigzag-conversion/题目:
The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fix...
分类:
其他好文 时间:
2016-05-27 12:50:47
阅读次数:
129
一,在Data Flow Task中,对于Error Row的处理通过Error Output Tab配置的。 1,操作失败的类型:Error(Conversion) 和 Truncation。 2,错误处理方式:Fail Component,Ignore Failure 和 Redirect Ro ...
分类:
其他好文 时间:
2016-05-15 12:20:59
阅读次数:
151
#include 代码如下: //使用ATL的W2A和A2W宏必须使用USES_CONVERSION USES_CONVERSION; //Unicode字符串 wchar_t* wszText=L"1.Unicode字符转换为ANSI;"; printf("%s\n",W2A(wszText));... ...
分类:
其他好文 时间:
2016-05-14 01:01:53
阅读次数:
255
蓝牙常见名称和缩写
MFI ======= make for ipad ,iphone, itouch 专们为苹果设备制作的设备
BLE ==== buletouch low energy,蓝牙4.0设备因为低耗电,所以也叫做BLE
peripheral,central == 外设和中心,发起连接的时central,被连接的设备为perilheral
service a...
分类:
移动开发 时间:
2016-05-13 15:06:20
阅读次数:
322
https://leetcode.com/problems/zigzag-conversion/ 水题,最近开始学java框架了,必须要学好啊 ...
分类:
其他好文 时间:
2016-05-13 14:16:54
阅读次数:
111