I believe that a Bus Error is a problem with the program trying access memory it cant. I am not sure what i'm doing wrong. I believe its coming from the strcpy(newAccount, accountNum); and strcpy(newName, name); I am really bad with pointers. could anyone explain this to me.
The strcpy() function accept two parameters: strcpy ( char * destination, constchar * source );
If you read your code, you will see that you have the opposite way the destination and the source...
You have as destination the newAccount which is actually the source.
The same for the newName also.