Posts by DryBones • 1 point
1 post
-
0
votes1
answer224
viewsQ: Error Segmentation fault (core dumped) in read and break string code
I need to read each line of an input file, break it into tokens and save each token in a position of a struct. I am able to do this partially, but at a certain point in the file, Segmentation fault…