-
我们都经常使用配置文件。为此我编写了IniFile文件读写类。使用非常简单,请参见示例程序。
程序采用了两种方法,一种是使用iterator调用,一种是直接...
我们都经常使用配置文件。为此我编写了IniFile文件读写类。使用非常简单,请参见示例程序。
程序采用了两种方法,一种是使用iterator调用,一种是直接使用数组下标,可根据不同情况分别选用。
采用C++STL编写,适用于Windows,Linux,Unix任意平台下的任意开发环境,在此只是用Win平台的CBuilder做个示意。-we are always use configuration files. Therefore, I have prepared a document literacy IniFile category. Using very simple, please see sample program. Adoption of the two methods is the use of an iterator call, a direct use of the array index, under different circumstances were used. STL prepared using C, applies to Windows, Linux, Unix platform under the arbitrary arbitrary development environment, this is the platform used Win CBuilder become indicate.
- 2022-02-05 17:59:29下载
- 积分:1
-
哈夫曼编码,建立哈夫曼树,输出哈夫曼编码
哈夫曼编码,建立哈夫曼树,输出哈夫曼编码-hafuman encode,create hafuman tree and output hafuman code.
- 2022-09-23 18:35:02下载
- 积分:1
-
成批量删除文件的源程序,使用这个大家可想清楚了,删除就没有,想当初为了测试这个软件,我误删了整个D盘的文件,让我郁闷了好几天...
成批量删除文件的源程序,使用这个大家可想清楚了,删除就没有,想当初为了测试这个软件,我误删了整个D盘的文件,让我郁闷了好几天-batch delete the file into the source code, you can use this to be clear, there is no delete. At first, in order to test the software, I mistakenly deleted a whole plate of documents D, let me depressed for a few days! !
- 2022-03-03 14:19:51下载
- 积分:1
-
使用 CPP 打字教程
取得使用 cpp 的打字教程。它有 3 种模式即评价模式。培训模式和词模式。
你打字的速度和准确性,没有错的字显示类型和其他的分析。
- 2023-07-31 20:40:03下载
- 积分:1
-
文件操作的代码示例
文件操作的代码示例-Sample code file operations
- 2022-05-16 15:41:21下载
- 积分:1
-
C++ Json序列化
自己基于jsoncpp实现的json的解析的序列化,很好用的,使用它就可以快速的掌握Json在c++里的对象序列化工作,代码写的很清楚,放在自己的工程里就可以使用了
- 2022-03-26 13:27:00下载
- 积分:1
-
通过MFC编制的可以阅读Adobe(pdf)文件的程序插见,是学习文件操作的良好例子....
通过MFC编制的可以阅读Adobe(pdf)文件的程序插见,是学习文件操作的良好例子.-compiled by MFC can read Adobe (pdf) documents, see the interpolation procedures, the operation is to study the documents are good examples.
- 2023-08-17 23:35:03下载
- 积分:1
-
三星的基于nand flash的文件系统的专利,对于理解U盘虚拟映射技术有很大帮助。...
三星的基于nand flash的文件系统的专利,对于理解U盘虚拟映射技术有很大帮助。-Samsung nand flash-based file system patents, understanding virtual U-mapping technique is very helpful.
- 2022-04-10 00:03:44下载
- 积分:1
-
windows拷贝的接口,比window自带的漂亮还可以自己定制
windows拷贝的接口,比window自带的漂亮还可以自己定制-copy windows interface than window
- 2022-03-15 03:26:12下载
- 积分: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