Answers:
INI样式的配置文件可能具有类似于以下格式:
[heading1]
key1=value
key2=value
[heading2]
a=1
b=2
etc...
conf样式的配置文件种类更多。它们看起来可能与此类似:
# A comment
button 1 {
  name "hello"
  "text" hi.there
  "more..." {
    "something 123"  bla.bla "123"
  }
}
# Another comment
button 2 {
  # hello
  x=2
}
也许像这样:
# set server port
server.port = 1234
# make everything go faster
machine.turbo_button = activated
对于类UNIX系统上的配置文件,以DOS / Windows样式的行尾结尾,即使该文件的扩展名是“ .ini”,也不愿使用它。
\r\n,0xD 0xA(十进制13和10,而不是十六进制)。