上一页 1 ··· 55 56 57 58 59
摘要: 方法一:sp_help 表名GO方法二:declare @objid int,@objname char(40)set @objname = '表名'select @objid = id from sysobjects where id = object_id(@objname)select 'Co 阅读全文
posted @ 2019-10-28 22:50 YZFHKMS-X 阅读(1641) 评论(0) 推荐(0)
摘要: 函数用法 编辑 函数名: exit() 所在头文件:stdlib.h(如果是”VC6.0“的话头文件为:windows.h) 功 能: 关闭所有文件,终止正在执行的进程。 exit(0)表示正常退出, exit(x)(x不为0)都表示异常退出,这个x是返回给操作系统(包括UNIX,Linux,和MS 阅读全文
posted @ 2019-10-28 22:18 YZFHKMS-X 阅读(5499) 评论(0) 推荐(0)
摘要: 函数原型 SHORT GetAsyncKeyState(int vKey); 例:若判断 回车键 if(GetAsyncKeyState(VK_RETURN)&0x8000) ( return 0; ) 按下Enter 返回值 0 ; 附其他常用键位:VK_LBUTTON 鼠标左键 0x01 VK_ 阅读全文
posted @ 2019-10-28 22:15 YZFHKMS-X 阅读(663) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main() { int a = 1; int b = 2; auto func = [=, &b](int c)->int {return b += a + c;}; return 0; } [capture] 阅读全文
posted @ 2019-10-28 21:39 YZFHKMS-X 阅读(786) 评论(0) 推荐(0)
摘要: 1.byte[] 转换16进制字符串 1.1 BitConverter方式 1.2 StringBuilder方式 2.16进制字符串转换 byte[] 阅读全文
posted @ 2019-10-25 19:39 YZFHKMS-X 阅读(1757) 评论(0) 推荐(0)
摘要: #include <iostream> #define Main main int Main(int Argc,char **Argv) { std::cout<<"Hello World!"<<std::endl; system("pause"); return 0; } 阅读全文
posted @ 2019-10-24 16:26 YZFHKMS-X 阅读(128) 评论(0) 推荐(0)
上一页 1 ··· 55 56 57 58 59