What is the meaning of the following error:
Code:ld: fatal: file mystring.hpp: unknown file type ld: fatal: File processing errors. No output written to a.out collect2: ld returned 1 exit status
What is the meaning of the following error:
Code:ld: fatal: file mystring.hpp: unknown file type ld: fatal: File processing errors. No output written to a.out collect2: ld returned 1 exit status
Don't try to link (or compile) a .hpp file. Assuming you're typing things on the command line, don't type the .hpp file.