You are not logged in.

#1 2008-06-26 20:25:45

tntcoda
Member
Registered: 2007-07-24
Posts: 115

Config files

Hi,

With a config file following this format:

#
# /etc/pacman.conf

#
# GENERAL OPTIONS
#
[options]
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

Is there any kind of C++ library for reading/writing them? Or am i going to have to play around manually with file streams to get something set up *being lazy* tongue

Thanks,
Jack

Offline

#2 2008-06-26 21:35:24

NecroRomancist
Member
Registered: 2005-01-02
Posts: 53

Re: Config files

Offline

#3 2008-06-26 21:44:18

tntcoda
Member
Registered: 2007-07-24
Posts: 115

Re: Config files

Exactly what i was looking for, thanks very much.

Offline

Board footer

Powered by FluxBB