I'm trying to implement a resizable array class in C++. I started out with a basic C++ Console Application Template. I'm unable to build the basic Hello World program in Visual Studio 2022. This is all the code in my main.cpp file-
#include <iostream>
using namespace std;
int main()
{
std::cout << "Hello World!\n";
return 0;
}
And these are my build logs for the above project.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\corecrt_memcpy_s.hcorecrt_memcpy_s.hfile starts with a comment on the first line (although I have a different / older sdk installed). Your errors seem to indicate that there is no comment on the first line of this file for you.