StudyPlanner/src/db.c

25 lines
279 B
C
Raw Normal View History

/*
* databse
* stores current state and reads previous
*/
2024-12-10 17:42:45 +01:00
#include <stdio.h>
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);
}