Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is possible to create nested structures using fiddle #12

Closed
anquegi opened this issue Oct 23, 2018 · 1 comment
Closed

It is possible to create nested structures using fiddle #12

anquegi opened this issue Oct 23, 2018 · 1 comment

Comments

@anquegi
Copy link

anquegi commented Oct 23, 2018

It seems that fiddle, can make structs of simple c types but not nesting structures, exists a way of doing so? how can I express this structure in c:

struct student_college_detail
{
    int college_id;
    char college_name[50];
};
 
struct student_detail 
{
    int id;
    char name[20];
    float percentage;
    // structure within structure
    struct student_college_detail clg_data;
}stu_data;
@kou
Copy link
Member

kou commented Sep 27, 2020

The next release supports this.

@kou kou closed this as completed Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants