I get a different error. also I see no function called printE().
i get
1 2 3 4
In function 'int main()':
14:22: error: too many arguments to function 'void enemyCheck()'
4:6: note: declared here
line 4 is missing parameters, C++ can have many functions with the same name so long as their parameters are different. eg; func(int); func(float); func(char); and these are all different and separate functions.
so the function you declared at line 4 is not the same one that you defined at line 18.
line 4 should read... void enemyCheck(enemies senemies);
That error was the old name I tried rehanging the name to something else to see if it was something weird,and yeah that was the same error I was getting.
Anyways I modified the code and fixed it, I added the argument/parameters in and got another error, but I fixed it when I placed it after the struct. Makes sense now that I think about it. This was just a test btw.