Questions tagged [structs]
The structs tag has no usage guidance.
3 questions
0
votes
1
answer
226
views
Can I create an element of arbitrary size in a STRUCT?
I'm working on recover.c.
It seems like a tidy solution to eliminate fseek calls would be to create a struct like the following:
typedef struct
{
BYTE first;
BYTE second;
BYTE third;
...
5
votes
1
answer
984
views
Pset5: Misunderstanding tries and method to assign letter to an array inside a struct
Before posting, I've searched a lot here and there on the Internet to find the answers to my questions myself and I did code something that eventually works.
My issue is that I've re-rewrote some ...
0
votes
1
answer
307
views
check50 claiming pairs are sorted incorrectly
On Problem Set 3, check50 has flagged my program as not having sorted the pairs correctly. However, the pairs array appears to be sorted in every case I've tried. I used insertion sort and had ...