1 Star 0 Fork 10

DEV_linux / inifile

forked from Gaaagaa / inifile 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test.ini 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
Gaaagaa 提交于 2019-11-28 17:28 . original version
; ======================================
; section1 comment
[section1]
; Text1 comment
Text1=Hello, world
; Text2 comment
Text2=Hello, xini_file_t
; Bool1 comment
Bool1=true
; Bool2 comment
Bool2=false
; Int1 comment
Int1=100
; Int2 comment
Int2=-100
; Uint1 comment
Uint1=1000
; Uint2 comment
Uint2=-1000
; Long1 comment
Long1=1234567890
; Long2 comment
Long2=-1234567890
; LLong1 comment
LLong1=12345678901234567890
; LLong2 comment
LLong2=-12345678901234567890
; Float1 comment
Float1=3.1415926
; Float2 comment
Float2=-3.1415926
; Double1 comment
Double1=0.01234567890123456789
; Double2 comment
Double2=-0.01234567890123456789
; ======================================
; section2 comment
[section2]
; Text1 comment
Text1=
; Text2 comment
Text2=Hello, xini_file_t
; Bool1 comment
Bool1=
; Bool2 comment
Bool2=false
; Int1 comment
Int1=
; Int2 comment
Int2=-100
; Uint1 comment
Uint1=
; Uint2 comment
Uint2=-1000
; Long1 comment
Long1=
; Long2 comment
Long2=-1234567890
; LLong1 comment
LLong1=
; LLong2 comment
LLong2=-12345678901234567890
; Float1 comment
Float1=
; Float2 comment
Float2=-3.1415926
; Double1 comment
Double1=
; Double2 comment
Double2=-0.01234567890123456789
; ======================================
; the second section1 comment
[section1]
AppendText=the second section1 text value.
; ======================================
; section3 comment
; empty section3
[section3]
; ======================================
; the third section1 comment
[section1]
; AppendText already exist, here will be ignored.
AppendText=the third section1 text value.
AppendInt=123
; ======================================
; another section2 comment
[section2]
Sect2Value=another section2
C++
1
https://gitee.com/bingolyc/inifile.git
git@gitee.com:bingolyc/inifile.git
bingolyc
inifile
inifile
master

搜索帮助