It comes up with a whole bunch of errors I can't understand sometimes and other times just a few simple errors that I can understand but don't understand why the happen. I am almost certain it has to do with string. Normally I don't use multiple files and if I wasn't this time it wouldn't be a problem, but I really want to. Thanks; Let me know if you need the actual code.
P.S. Some of the errors are like
class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > filename" (?filename@@3V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A) already defined in exists.obj
that originate from "main.obj"
and others like
identifier 'string' is undefined
that originate from functions.cpp
but never both at once just when I make small tweaks to the code trying to fix it they alternate. Sorry if this doesn't make much sense it's kind of hard for me to explain.