While finishing up my app, I included into the project the code for loading and injecting my dll into running processes.
Once compiling I received these errors
error C2039: 'getchar' : is not a member of '`global namespace'' error C2873: 'getchar' : symbol cannot be used in a using-declaration error C2039: 'putchar' : is not a member of '`global namespace'' error C2873: 'putchar' : symbol cannot be used in a using-declaration
I narrowed down the cause to be from just including fstream.
I cannot find the problem, the only 2 similar errors I could find did not relate from fstream.
Its not possible that I could have accidentally altered the file so after this many hours I have no idea what could be causing this.
Extra: It does have to do with that file since it gives those errors whenever I include it into any project.