Why do i get "fatal error C1083" when compiling my code?

I’m on the 23rd lesson in this course and I haven’t had any problems compiling my code up until now but today when i compiled my code I got this error and it said “c1xx: fatal error C1083: Cannot open source file: ‘triplex.cpp’: No such file or directory”

Could you show your window?

You aren’t in the directory to where you saved triplex.cpp

I suggest you open the folder in VS Code. File > Open Folder, then open your documents folder in OneDrive. Newly opened terminals will now open in that directory.

I think i understand, except doesn’t this mean that I will lose all of this code that I had wrote? Also what is a directory

nevermind I figured it out all i had to do was to open the file in the new directory. Thank you!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms