Why is C++ compiler displaying “source file not found”

I recently started writing in C++ but I have some Challenges, anytime I type in a code, about 2 runs and Compile, It pops up an error: “source file not found “. I’ve tried to search Google, but the information I got is somehow confusing. I even send the code to my friend that taught me the programming language, but he said there is no error in the syntax.
NB•i use Dev C++ as my compiler. I have also tried Using Codeblocks but the error Still persists
What is “Mingw32” I came Across why troubleshooting?
