The only place it's giving me errors is the outFile line. It says "Invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'" and "Invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'"
Does anyone know what these mean and how to resolve them?