-
Qt对XML文件增删查改操作
实现QT对XML文件的创建,添加节点,查找节点,删除节点,添加节点下键值,读取节点下的键值,本代码最多支持4层节点,如果需要更多节点,可以参照我的函数进行重载 来实现。调用方便,类已经封装好,有中文注释。1.创建XML文件,2.添加一级节点,或添加2、3、4级节点3.设置添加的键值4.添加指定下节点的键值5.查找键值6.删除键值7.读取键值
- 2022-07-23 13:00:36下载
- 积分:1
-
Documents, online hard to find today, me and paste it in the hope that can help...
文件,网上很难找到,今天我吧它贴出来,希望能帮助大家!
-Documents, online hard to find today, me and paste it in the hope that can help you!
- 2022-05-21 06:56:48下载
- 积分:1
-
CI框架上传类改写,支持多附件上传
CI框架上传类改写,
原来的程序只支持一个附件上传,并不支持控件数组上传。
现已修改支持多附件上传。将该文件放到自己程序目录中的libraries文件夹下。
调用如下:
// 附件上传处理
$folder = date("Ym");
$upload_dir = APPPATH . "/app/upload/".$folder;
$config["upload_path"] = $upload_dir;
$config["allowed_types"] = "gif|jpg|png|txt|doc|docx|xls|xlsx|ppt|pptx|pdf";
$config["max_size"] = "5120";
$config["max_width"] = "0";
$config["max_height"] = "0";
$config["max_filename"] = "0";
$config["overwrite"] = false;
$config["encrypt_name"] = true;
$config["remove_spaces"] = true;
$this->load->library("upload", $config);
$field_name = "att";
if (!$this->upload->do_upload($field_name, true))
{
// 出错
$error = array("error" => $this->upload->display_errors());
} else {
// 正
- 2022-05-05 09:14:31下载
- 积分:1
-
文件操作源码
文件操作源码 -file manipulation source file manipulation FO
- 2022-12-21 01:50:03下载
- 积分:1
-
创建一个大文件 从令一个avi文件中读取数据 对新创建的大文件进行写操作 然后对写入的数据进行MD5值校验 确保对大文件的写入正确...
创建一个大文件 从令一个avi文件中读取数据 对新创建的大文件进行写操作 然后对写入的数据进行MD5值校验 确保对大文件的写入正确-Create a large file from a avi file so that read data on the newly created big file and then write the data to write MD5 checksum value to ensure that the correct write large files
- 2023-03-15 07:55:04下载
- 积分:1
-
如何在代码读取XML
我写一个项目,该函数是如何读取 xml 在 csharp 中。为新 csharp 代码开发人员,这个项目可能会给你很好的指导,带领你走在一条很好的道路,而不是带领你走进了不良的道路。
- 2023-03-28 13:55:03下载
- 积分:1
-
vc++, LZSS + RLE + 动态HUFF, 可以用于压缩代码, 解压缩速度比较快....
vc++, LZSS + RLE + 动态HUFF, 可以用于压缩代码, 解压缩速度比较快.-vc++, LZSS+ RLE+ dynamic HUFF, can be used to compress the code, unzip it faster.
- 2022-02-20 22:18:31下载
- 积分:1
-
utm投影正转,实现经纬度到平面坐标的转变
utm投影正转,实现经纬度到平面坐标的转变-utm projection is to achieve the latitude and longitude coordinates of the plane change
- 2022-02-13 19:49:06下载
- 积分:1
-
QT文本编辑器
学Qt两个月了,自制了一个文本编辑器,虽说还有点小BUG,但是基本功能都实现了,可以拿来给Qt初学者学习学习
- 2022-12-12 00:20:04下载
- 积分:1
-
比较TXT文件和mdb文件判断每行的转义字符是否相同
比较TXT文件和mdb文件判断每行的转义字符是否相同-TXT file and mdb file compare each line to determine whether the same escape character
- 2022-02-12 13:19:08下载
- 积分:1