dimanche 9 février 2020

Unable to use memcmp to compare two structures [closed]

I need to compare two structures so as to check if a deck is shuffled back to its original form.

this is the line I have problems with it always returns 1 no matter what:

if(memcmp(d->deck,d3->deck,52)==0)

Aucun commentaire:

Enregistrer un commentaire