A note to Windows users
(Right click the image and open in a new tab to view full sized image)
If you get the following in the next lecture where you have a red unline under the include for <iostream>
Then do the following:
First, if you haven't done so already, open the folder to where you have saved TripleX.cpp in VS Code via File > Open Folder
Next open the Command Palette (Ctrl + Shift + P) and select Edit Configurations (UI)
From here use the drop down menu in Compiler Path and select the compiler you are using
If the compiler isn't detected use the Developer Command prompt and type "where cl" and copy and paste its output there instead (you can right click after highlighting to copy otherwise use Ctrl + C)
If you are unable to enter it in the UI then you will have to enter directly into the c_cpp_properties.json.
To do that first open that file which you can do by clicking the link here
Then add the following inside "configurations"
Replacing "Path" with the actual path to your compiler. For example
If your path has backslashes (\) then you will need to add extra or replace them with forward slashes e.g.
Would need to either be "C:/Users/Dan" or "C:\\Users\\Dan"