当前位置:网站首页>ini解析学习文档
ini解析学习文档
2022-06-30 06:09:00 【蓝天⊙白云】
ini解析学习文档
一.什么是Ini
ini文件是Initialization File的缩写,即初始化文件,通常存放的是一个程序的初始化信息,是Windows的系统配置文件所采用的存储格式,统管windows的各项配置。ini文件的后缀名不一定是.ini,也可以是.cfg、.conf或者是.tx*。
二.ini文件格式&语法规范
ini文件由若干个节(section)组成,每个section由若干键(Key)组成,每个Key可以赋相应的值。读写ini文件实际上就是读写某个的section中相应的Key的值,而这只要借助几个函数即可完成。
参数(Parameter):ini文件包含的最基本元素是参数,参数包含参数名(name)和参数值(value),格式如下:name=value节(section):所有的参数都是以节为单位结合在一起。节名称独占一行,在节声明后的所有的参数都属于该节。节没有结束标识符,一个section的开始就是上一个section的结束。格式如下:[section]注释(comments):注释用分号;表示,放在注释之前,;号后直到行尾均为注释。示例如下:;i wish nothing but the best for you文件实例
[owner] name=WU yanzu organization=The United Nations
[UserConfig]
OpenDownloadFileAtOnec=Y
WindowStyle=DevExpress Dark Style
[Language]
Language=CHS
[AutoUpdate]
Version=2.10 ;last version:2.08
边栏推荐
- Balanced binary tree judgment of Li Kou 110 -- classic problems
- 电脑查看WiFi使用密码
- Title: enter two positive integers m and N to find their maximum common divisor and minimum common multiple
- 880. decoded string at index
- Data read / write: realize data read / write function based on C # script in unity
- ES6箭头函数
- General contents of learning reinforcement learning
- MySQL 索引
- MySQL advanced (Advanced SQL statement)
- ES6 extended operator (...)
猜你喜欢

Tornado frame foundation

Application of redis client list in practice

Leetcode search insert location

Master slave synchronization of MySQL database to realize read-write separation
![[ansible series] fundamentals 02 module debug](/img/99/c53be8e2a42c7cb5b4a9a7ef4ad98c.jpg)
[ansible series] fundamentals 02 module debug
![[OSPF] comparison between rip and OSPF](/img/72/00e3a05bc5de0e5a66b4675d030911.jpg)
[OSPF] comparison between rip and OSPF

Use and principle of completionservice (source code analysis)

Mysql database learning notes - foreign keys, table connections, subqueries, and indexes for MySQL multi table queries

Who doesn't want a blog site of their own - build a blog site WordPress

Completabilefuture: from understanding to mastering, here are all you want to know
随机推荐
【数据库】事务
File operation io-part1
[regular expression series] greedy and non greedy patterns
股票在网上开户安全吗?在网上能不能开户炒股呢?
Summary of 2 billion redis data migration
Rotate dimension tool rolabelimg
ES6解构赋值
Learning automation ppt
STM32F103 series controlled OLED IIC 4-pin
Lantern Festival | maoqiu technology and everyone "guess riddles and have a good night"
Turn off automatic outlining in Visual Studio - turning off automatic outlining in Visual Studio
VLAN access mode
ES6 array
Es6数组
880. decoded string at index
Problems related to pinduoduo store search, why can't new products be found on the shelves
Network basics
Here comes the nearest chance to Ali
DOM (document object model) document XML file object model
Shenzhou ares tx6 boot logo modification tutorial