diff --git a/src/db.c b/src/db.c index 37c1f89..f3de444 100644 --- a/src/db.c +++ b/src/db.c @@ -2,3 +2,23 @@ * databse * stores current state and reads previous */ + +#include + +const char format[] = "{ %s = { %s}\n"; +struct A { + char *s1; + char *s2; +}A; +int main(){ + +struct A test; + + test.s1 = "asdasd"; + test.s2 = "asdad"; + + +printf(format, test.s1, test.s2); + + +}