OFFTOPIC: placeholders in C
- From: "Chuchi Perriman" <chuchiperriman gmail com>
- To: gedit-list <gedit-list gnome org>, gnome-devtools <gnome-devtools gnome org>, anjuta-devel <anjuta-devel lists sourceforge net>
- Subject: OFFTOPIC: placeholders in C
- Date: Fri, 14 Mar 2008 19:40:55 +0100
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!!!!!!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]