I am at wits end. I was just trying to rejigger the placement of functions in headers and source files so that it would seem more organized, and the code compiled fine before that, but now it keeps throwing me a bunch of LNK 2005 errors and I can't revert to the state it was in before.
So it gives me a total of 62 errors. All of them from a group of functions I placed in the namespace "pis" under the header "phone_initialize.h". It worked fine before and I have no idea why it's giving me grief now.Code:ot_ok error LNK2005: "int __cdecl pis::set_open_back_unrounded(class phone &)" (?set_open_back_unrounded@pis@@YAHAAVphone@@@Z) already defined in main.obj ot_ok error LNK2005: "int __cdecl pis::set_close_mid_front_unrounded(class phone &)" (?set_close_mid_front_unrounded@pis@@YAHAAVphone@@@Z) already defined in main.obj ... and on and on
I can't isolate the problem so unfortunately, I'm going to have to attach the entire project. The attachment file is a .zip archive so you'll have to change the extension to .zip.
Any help at all would be truly appreciated (not that I didn't appreciate it before, but this is on a different scale).