1.加减乘除2.真假 “== ~=”3.逻辑与 逻辑或 “&& ||”4.变量位数长短 format short/format long %0.2f (小数点后两位数)5.矩阵表示 A = [1 2;3 4;5 6] (三行两列) v = [1 2 3] (行向量) v = [1;2;3] (列向量 ...
分类:
其他好文 时间:
2019-02-10 23:06:02
阅读次数:
236
Given the root of a binary tree, each node has a value from 0 to 25 representing the letters 'a' to 'z': a value of 0 represents 'a', a value of 1 rep ...
分类:
其他好文 时间:
2019-02-05 13:13:56
阅读次数:
142
功能:用session记录登陆验证状态 前提:用户表:django自带的auth_user 创建超级用户:python manage.py createsuperuser 本质也是用的django-session,不过人家这个更严谨,更新账户的时候连着session_key一起换了。 基于用户认证组 ...
分类:
其他好文 时间:
2019-02-04 18:07:23
阅读次数:
186
win32,win64编程永恒;语言编程需要注意的64位和32机器的区别 一、数据类型特别是int相关的类型在不同位数机器的平台下长度不同。C99标准并不规定具体数据类型的长度大小,只规定级别。作下比较: 16位平台 char 1个字节8位 short 2个字节16位 int 2个字节16位 lon ...
直接上代码 1 pom.xml引入依赖 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>RELEASE</version> </dependency> <dependency> ...
分类:
其他好文 时间:
2019-02-01 11:32:39
阅读次数:
119
基本数据类型 数值型 整数 int 64位操作系统默认为int64,32位操作系统为int32,但是类型检查时时int int8 (byte 1字节) int16 (short 2字节) int32 (int 4字节) int64 (long 8字节) uint uint8 uint16 uint3 ...
分类:
其他好文 时间:
2019-01-31 18:17:02
阅读次数:
239
反电子教室系统 cpp include include include using namespace std; void movexy(short x, short y) { COORD position={x, y}; HANDLE hOut=GetStdHandle(STD_OUTPUT_HA ...
分类:
其他好文 时间:
2019-01-31 17:36:32
阅读次数:
216
//c++:HANDLE(void *) c#:System.IntPtr//c++:Byte(unsigned char) c#:System.Byte//c++:SHORT(short) c#:System.Int16//c++:WORD(unsigned short) c#:System.UI ...
分类:
编程语言 时间:
2019-01-31 12:57:16
阅读次数:
180
1、基本数据类型是什么?包括有哪些代表?除了基本数据类型还有什么其他类型形式? (1)基本数据类型——用于描述基本的数据 (数、日期等) (2)有整型、实型、字符型、枚举类型等等 简单分割线 ①整型:int 扩展:short int(2字节16位进制数),int(2字节),long int(4字节) ...
分类:
编程语言 时间:
2019-01-30 00:14:05
阅读次数:
215
sbyte:表示-128~127之间的整数。 byte:表示0~255之间的整数。 short(Int16):-32768~32767之间的整数。 ushort:在0~65535之间的整数。 int(int32):在-2147483648~2147483647之间的整数。 uint:在0~42949 ...