M
Morize
How to build a DataBase of data types (int, char, struct, …)
I would like to build an ACCESS DataBase, containing information about all the data types we use.
For example
Suppose, we have the following C/C++ code
typedef char ARRAY_8_BYTES[8]
struct Foo
int a[20]
int b
ARRAY_8_BYTES a6
char a[8]
}
struct Foo
Foo1 foo1
Foo1 *pFoo1
char c[12]
}
Ideally, I’d like to have an ACCESS DataBase, containing data about the Foo1, Foo2 structures. So, I would be able to build a program, which uses this data base and (for instance) generates automatically the C code structure definitions above
The questions I ask myself are
1) How to organize data which is hierarchical by nature using a relational
data base such as ACCESS
2) Are they better solutions than using ACCESS to solve this kind o
problem?
3) Do you know about other databases or commercial softwares that permit to
do this
4) Could you please give me either a precise answer or links which can help
me
Many, many Thanks
I would like to build an ACCESS DataBase, containing information about all the data types we use.
For example
Suppose, we have the following C/C++ code
typedef char ARRAY_8_BYTES[8]
struct Foo
int a[20]
int b
ARRAY_8_BYTES a6
char a[8]
}
struct Foo
Foo1 foo1
Foo1 *pFoo1
char c[12]
}
Ideally, I’d like to have an ACCESS DataBase, containing data about the Foo1, Foo2 structures. So, I would be able to build a program, which uses this data base and (for instance) generates automatically the C code structure definitions above
The questions I ask myself are
1) How to organize data which is hierarchical by nature using a relational
data base such as ACCESS
2) Are they better solutions than using ACCESS to solve this kind o
problem?
3) Do you know about other databases or commercial softwares that permit to
do this
4) Could you please give me either a precise answer or links which can help
me
Many, many Thanks