上一页 1 2 3 4 5 6 ··· 8 下一页
  2022年8月26日
摘要: 值类型包含: 简单数据类型:int long short double string char decimal float bool ushort ulong uint 枚举类型:enum 结构体类型:struct 引用类型: 类类型:string,Console类和自定义类 数组类型:一位数组,多 阅读全文
posted @ 2022-08-26 16:02 flash610 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 一个方法的自我调用就是递归。以下是以递归函数求阶乘。 using System; namespace CalculatorApplication { class NumberManipulator { public int factorial(int num) { /* 局部变量定义 */ int 阅读全文
posted @ 2022-08-26 11:16 flash610 阅读(58) 评论(0) 推荐(0) 编辑
摘要: public 所有对象都可以访问 private 该对象本身在 对象内部可以访问 protected 只有该类对象本身和其子对象可以访问 internal 同一程序集的对象可以访问 protected internal 访问限于当前程序集或派生自包含类的类型 范围比较: private < inte 阅读全文
posted @ 2022-08-26 11:06 flash610 阅读(13) 评论(0) 推荐(0) 编辑
  2022年8月18日
摘要: kepserverEX5.11连接mysql,测试连接数据库正常, 但是建立设备后提示错误: Date Time Level Source Event2022-08-18 18:24:12 Error ODBC Client Failed to automatically generate tags 阅读全文
posted @ 2022-08-18 18:45 flash610 阅读(502) 评论(0) 推荐(0) 编辑
  2022年5月27日
摘要: 无论执行什么sql语句都报错: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILIN 阅读全文
posted @ 2022-05-27 16:53 flash610 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 在my.ini配置文件中加了一条default-character-set=utf8服务无法启动 最后发现是文本保存的默认字符集不对,记事本默认的字体为: 用notepade++打开此文件,保存为utf8;重启服务成功; 阅读全文
posted @ 2022-05-27 16:41 flash610 阅读(240) 评论(0) 推荐(0) 编辑
  2022年5月20日
摘要: 1,安装pyinstaller pip install pyinstaller 速度较慢,切换清华源 pip install pyinstaller -i https://pypi.tuna.tsinghua.edu.cn/simple/ 2,cmd切换到Python源文件的目录下执行 pyinst 阅读全文
posted @ 2022-05-20 11:42 flash610 阅读(1416) 评论(0) 推荐(0) 编辑
  2022年5月14日
摘要: 1.将官网下载的mysql5.7.36.zip解压到D:\program files下 2.新建my.ini文件(文件格式保存为ANSI格式,否则下面执行mysqld --initialize --console命令时会报错) [mysqld]character-set-server=UTF8MB4 阅读全文
posted @ 2022-05-14 09:53 flash610 阅读(484) 评论(0) 推荐(0) 编辑
  2022年4月26日
摘要: 1 #!/usr/bin/env python 2 #coding:utf-8 3 #猜数例程 4 import random 5 6 number = random.randint(1,101) 7 8 guess = 0 9 print("number = ",number) 10 while 阅读全文
posted @ 2022-04-26 15:20 flash610 阅读(17) 评论(0) 推荐(0) 编辑
  2022年3月29日
摘要: 组态王连mysql数据库需要手动创建ODBC数据源。但是从 控制面板-系统和安全-管理工具数据源(ODBC)-添加 没有mysql的ODBC驱动。 解决方法: 在win7控制面板中的ODBC默认是64位的,所以不可用!需要用“C:\Windows\SysWOW64\odbcad32.exe”才能创建 阅读全文
posted @ 2022-03-29 15:35 flash610 阅读(307) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页