In the early section of the C++ course for unreal I am running into issues. I am brand new to C++ and could really use extensive explanations. The code is:
#include <iostream>
int main()
{
std::cout << "Hello, World";
return 0;
}
When I go to terminal and type “cl triplex.cpp” I receive:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\ostream(746): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
triplex.cpp(5): note: see reference to function template instantiation ‘std::basic_ostream<char,std::char_traits> &std::operator <<<std::char_traits>(std::basic_ostream<char,std::char_traits>
&,const char *)’ being compiled
and when I type " cl triplex.exe" I receive the error:
LINK : fatal error LNK1149: output filename matches input filename
I am on windows using visual studio code. Can anyone tell me where I made a mistake or how I can fix this?Preformatted text