I have declared a structure within a structure. but it keeps on getting unhandled exception, why is this so?
struct b {
int v;
struct n {
int o;
unsigned chat g;
} r;
}
struct b *h;
h = (struct b *) calloc(10, sizeof(struct b);
h[i].r.g = 0;
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Structure and pointer problemsThreaded View
|
Click Here to Expand Forum to Full Width |