reset password
Author Message
scisneros
Posts: 2
Posted 14:48 Oct 03, 2017 |

when i give the user a choice of struct type, i get an error stating " multiple definitions for each function from each .c file for the different struct im not sure how to fix this as that is what were supposed to have, right?

jhurley
Posts: 207
Posted 15:03 Oct 03, 2017 |
scisneros wrote:

when i give the user a choice of struct type, i get an error stating " multiple definitions for each function from each .c file for the different struct im not sure how to fix this as that is what were supposed to have, right?

you could just give the functions different names, like inputMonsterAttack() vs inputStudentInfo()