Visual Studio Code - Terminal command problems

Reference: Unreal Engine C++ Developer: Learn C++ and Make Video Games Section 2 video 22. Naming & self Documenting Code.

Hi just want to say am loving the course but I’ve hit a wall with compiling my code. in the highlighted text below I’ve tried to compile that code into the complier…

…but when entering it into the command (in the terminal) cl triplex.cpp it comes up with this (please look at the screenshot below).

(sorry below this image so the bottom one. wanted to leave this image here for a visual reference.)



(below is a screenshot from the video)

when he typed in cl triplex.cpp it worked and came up with desired result from the highlighted box in the image above. but for me it did not I just want to know if there is a way to fix this.

That creates the program. It’s not supposed to output the result of running it. He did not type that to run the program.
From your own screenshot
image

1 Like