I am new to C++ development and am trying out certain basic examples. This is my code.
if (outfile && infile) // They will be 0 on err.
while (infile >> c)
outfile << c;
However, while compiling I am getting the following error:
Error spawning ''.
What could be causing this?