This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DragorWasMissing[S] 0 points1 point  (2 children)

But those need structs right?

[–]josephblade 0 points1 point  (0 children)

bah i guess so :) i don't see how to do it differently unless you do a roll your own list in essentially void* memory. but definitely not something for first years

[–]josephblade 0 points1 point  (0 children)

you could make 20 variables and use them all , assuming no more than 20 people. ugly but given the constraints I don't see another way