ld returned 1 exit status

this is my first time I organized a program into header and implementation files
I have multiple classes and global variables
when I run the program as one file everything works fine, but i have to make .h and .cpp files in my assignment
I did that but this only error exist?

ld returned 1 exit status
No error messages?
ld returned 1 exit status


That simply indicates that the linker reported an error code indicating that it wasn't successful.

Are you sure it didn't output any other error messages, saying why it wasn't successful?
Topic archived. No new replies allowed.