``` #include typedef int(__stdcall *pMessageBoxA)(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType); using pFnMessageBoxA = int(__stdcall *)(HWN... ...
分类:
编程语言 时间:
2019-04-07 20:33:16
阅读次数:
365
属性:默认是internal的类型,外部是不可以访问调用的,如果加上public的话,那么是会自动为这个属性加上一个get的方法的,比如uint public _age; => function _age() {} 自动生成 方法:默认是public的类型,外部是可以直接访问调用的 public:, ...
分类:
其他好文 时间:
2019-04-07 09:19:08
阅读次数:
176
1 static void* WndProc(void* hwnd, uint uMsg, void* wParam, void* lParam) 2 { 3 switch (uMsg) 4 { 5 case WM_PAINT: 6 ... ...
/**************dis_12864.h***************/ #include <reg52.h> #ifndef __DIS_12864_H__ #define __DIS_12864_H__ #define uchar unsigned char #define uint ...
分类:
其他好文 时间:
2019-04-05 09:25:05
阅读次数:
131
Alert.show(text:String = "", title:String = "", flags:uint = 0x4, parent:Sprite = null, closeHandler:Function = null, iconClass:Class = null, defaultB ...
分类:
其他好文 时间:
2019-04-01 10:30:01
阅读次数:
161
单片机编程中,涉及指针的地方很多,需要多看多练习多总结。#include<string.h>#include<stdio.h>#include<stdlib.h>intmain(void){unsignedint*pInt32;//指向32位无符号整数的指针unsignedintUINT32_1;//32位的无符号整数unsignedintArray1_UINT
分类:
编程语言 时间:
2019-03-27 09:18:28
阅读次数:
217
1. bool,string 2.(u)int, (u)int8, (u)int16, (uint)32, (u)int64, uintptr (1)uintptr 是指针类型 3. byte(8位), rune(go语言的字符型,32位) 一个字节的char 都是整数类型的别名 4. float3 ...
分类:
其他好文 时间:
2019-03-21 21:43:55
阅读次数:
231
[Code] var MD5Comp: string; procedure ExitProcess(uExitCode:UINT); external 'ExitProcess@kernel32.dll stdcall'; procedure CurStepChanged(CurStep: TSet... ...
分类:
其他好文 时间:
2019-03-14 18:35:10
阅读次数:
389
#include <lcd.h> void delay(uint x) { uint i, j; for (i = x; i > 0; i--) for (j = 100; j > 0; j--); } void LcdWriteCom(uchar com) { LCD1602_E = 0; LCD ...
分类:
其他好文 时间:
2019-03-01 19:59:09
阅读次数:
182
基本数据类型 数值型 整数 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