I am having issues with compiling my .cpp file. There is nothing wrong with the code, and I suck at C++ and g++, so sorry if I suck at this. Anyways, I am getting the error message:
'Main.cpp -o Main
error: Main.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.`
Any idea as to why this might be happening?
Main.cppis present in current working folder ?Main.cppis not the same asmain.cppor evenmAiN.cPp. You can have all three (and even more) for kicks.