* [sisyphus] parser for input file
@ 2005-10-28 13:42 Andrii Dobrovol`s`kii
2005-11-02 6:42 ` Yury Aliaev
0 siblings, 1 reply; 4+ messages in thread
From: Andrii Dobrovol`s`kii @ 2005-10-28 13:42 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
Hi,
Тут понадобилось сделать в программе загрузку начальных параметров
из файла. Есть желание делать такой файл комментированным. Где можно
подсмотреть пример реализации такого ввода на С/C++? Чтоб не
изобретать велосипед.
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 525-7824 Department of Gas Electronics
Fax: (380-44) 525-2329 Institute of Physics of NASU
*********************************************************************
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] parser for input file
2005-10-28 13:42 [sisyphus] parser for input file Andrii Dobrovol`s`kii
@ 2005-11-02 6:42 ` Yury Aliaev
2005-11-03 9:47 ` Andrii Dobrovol`s`kii
2005-11-03 9:57 ` Vadym Kononenko
0 siblings, 2 replies; 4+ messages in thread
From: Yury Aliaev @ 2005-11-02 6:42 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Hi, Andrii!
> Hi,
> Тут понадобилось сделать в программе загрузку начальных параметров
> из файла. Есть желание делать такой файл комментированным. Где можно
> подсмотреть пример реализации такого ввода на С/C++? Чтоб не
> изобретать велосипед.
Я для этих целей приспособил libxml2, написав соотв. обёртку. Может
быть, это и из пушки по воробьям, зато -- хорошие возможности для
расширения + группировка.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] parser for input file
2005-11-02 6:42 ` Yury Aliaev
@ 2005-11-03 9:47 ` Andrii Dobrovol`s`kii
2005-11-03 9:57 ` Vadym Kononenko
1 sibling, 0 replies; 4+ messages in thread
From: Andrii Dobrovol`s`kii @ 2005-11-03 9:47 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]
Yury Aliaev wrote:
> Hi, Andrii!
>
>> Hi,
>> Тут понадобилось сделать в программе загрузку начальных параметров
>> из файла. Есть желание делать такой файл комментированным. Где можно
>> подсмотреть пример реализации такого ввода на С/C++? Чтоб не
>> изобретать велосипед.
>
>
> Я для этих целей приспособил libxml2, написав соотв. обёртку. Может
> быть, это и из пушки по воробьям, зато -- хорошие возможности для
> расширения + группировка.
>
>
Спасибо за отклик. Судя по названию библиотеки она тянет за собой
переход на хмл как формат входного файла. В нашей ситуации это
совершенно не оправдано. Пока "изобрели велосипед" и успокоились...
:)
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 525-7824 Department of Gas Electronics
Fax: (380-44) 525-2329 Institute of Physics of NASU
*********************************************************************
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] parser for input file
2005-11-02 6:42 ` Yury Aliaev
2005-11-03 9:47 ` Andrii Dobrovol`s`kii
@ 2005-11-03 9:57 ` Vadym Kononenko
1 sibling, 0 replies; 4+ messages in thread
From: Vadym Kononenko @ 2005-11-03 9:57 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On Wednesday 02 November 2005 08:42, Yury Aliaev wrote:
> Hi, Andrii!
>
> > Hi,
> > Тут понадобилось сделать в программе загрузку начальных параметров
> > из файла. Есть желание делать такой файл комментированным. Где можно
> > подсмотреть пример реализации такого ввода на С/C++? Чтоб не
> > изобретать велосипед.
>
> Я для этих целей приспособил libxml2, написав соотв. обёртку. Может
> быть, это и из пушки по воробьям, зато -- хорошие возможности для
> расширения + группировка.
Если надо очень просто, то посмотрите на
http://freshmeat.net/projects/confuse/
--
Best regards.
Vadym Kononenko.
Kyiv, Ukraine
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-03 9:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-28 13:42 [sisyphus] parser for input file Andrii Dobrovol`s`kii
2005-11-02 6:42 ` Yury Aliaev
2005-11-03 9:47 ` Andrii Dobrovol`s`kii
2005-11-03 9:57 ` Vadym Kononenko
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git