Skip to main content

Questions tagged [structs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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; ...
Dr.Queso's user avatar
  • 253
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 ...
DFATPUNK's user avatar
  • 155
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 ...
Gabriel Saul's user avatar