mercredi 8 avril 2020

*** stack smashing detected ***:

I am completing a homework assignment (I can't post the code because of this), and I get this runtime error very infrequently:

* stack smashing detected *: terminated Aborted (core dumped)

When I run the executable again after, and everything works fine. Is there a reason why this error only shows up sometimes? For reference, the assignment I am trying to complete has us loading data from files into two vectors, and conducting binary and linear searches on the data, to see if a data from vector 1 appears in vector 2.

Thank you!

Aucun commentaire:

Enregistrer un commentaire