Posts by avoid • 13 points
1 post
-
1
votes2
answers115
viewsQ: Segmentation Fault in Structs C array
I’m trying to make an array of dynamic structs in C, but I don’t understand why it’s returning to me. The code is basically this: I’m just creating a vector of 10 arrays and then trying to…