C
chellappa
Hi EveryBody!
i need a information about creatting structure at runtime....
like example
.....
int main()
{
char *a,*b;
printf("Enter the structure");
scanf("%s",a);
printf ("Enter The Datatype");
scanf("%s",b);
create(a,b);
}
void create(char *F,Char *G);
{
struct F
{
G a;
}
}
i hope u will understand this program... this example ,but i need
inforamtion any possibleties to create struct and its field in runtime
, that user will define..
if posssible give me reply
Thanks
BY
CNS
i need a information about creatting structure at runtime....
like example
.....
int main()
{
char *a,*b;
printf("Enter the structure");
scanf("%s",a);
printf ("Enter The Datatype");
scanf("%s",b);
create(a,b);
}
void create(char *F,Char *G);
{
struct F
{
G a;
}
}
i hope u will understand this program... this example ,but i need
inforamtion any possibleties to create struct and its field in runtime
, that user will define..
if posssible give me reply
Thanks
BY
CNS