Unable to Compile

Can someone please help me? I am having such an issue with compiling in VS code.

Your filename is TripleX.cpp not Triplex.cpp

1 Like

Your terminal is in a different location, there’s no file “TripleX.cpp” in the directory the terminal is in.

If you open that folder in VS Code (File > Open Folder, or probably VS Code > Open Folder, on macOS) then if you close that terminal and then open a new one it should be in the same directory.

1 Like

Thank you! I’m new to this and thought it wasn’t case sensitive.

Thank you, Dan. I will try to this correction later on!


I got the compiler to work, however, I get a clang error when I try to use -0. How can I correct?

It’s o for output not 0. Also that code will fail to compile as b is const so you can’t modify it on line 15.

1 Like

Thank you times a million!