OFFTOPIC: placeholders in C

"Chuchi Perriman" <[email protected]>
Newsgroups gmane.comp.gnome.apps.gedit,gmane.comp.gnome.devtools,gmane.comp.ide.anjuta.devel
Message-ID <[email protected]>
Hi all,

I know that this is not the correct place for this question but I
think you have used placeholders before.

I want to use placeholders like java ant For example:

gchar* host = ${db.host}
connect(host);

then a function parse the placeholders with the correct data:

(parameters = "db.host = localhost")

gchar* parseText(gchar* text, parameters);

This function may return the text with the placeholders replaced.
Something like this:

gchar* host = localhost
connect(host);


There is some library to do this in C?? With this plaholders
(${var.name}) or others...

Thanks a lot!!!!!!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.