Compile error when creating C++ Project

I have recently installed UE and have been looking through the Blueprint projects and everything is working fine there. But when I try to create a C++ project the file is created however the files are created for the project but when it tries to compile the code UE cannot compile the project with the following message:

 -project="" -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE -2015
@progress push 5%
Parsing headers for Project2Editor
  Running UnrealHeaderTool "" "" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for Project2Editor in 2.3144206 seconds
@progress pop
Performing 7 actions (4 in parallel)
[3/7] Resource ModuleVersionResource.rc.inl
[2/7] Resource PCLaunch.rc
PCH.Project2.h.cpp
D:\Program Files\VC\INCLUDE\stdlib.h(640): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(640): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(641): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(641): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(642): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(642): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(644): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(644): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(646): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(646): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(647): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(647): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(648): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(648): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(649): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(649): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(651): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(651): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(653): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(653): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(655): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(655): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(657): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdlib.h(657): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(796): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(796): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\stdlib.h(855): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(855): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\stdlib.h(855): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\stdlib.h(879): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(879): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\stdlib.h(879): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\stdlib.h(897): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdlib.h(897): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\stdlib.h(897): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\cstdlib(41): error C2039: '_Exit': is not a member of '`global namespace''
D:\Program Files\VC\INCLUDE\cstdlib(41): error C2873: '_Exit': symbol cannot be used in a using-declaration
D:\Program Files\VC\INCLUDE\cstdlib(41): error C2039: 'at_quick_exit': is not a member of '`global namespace''
D:\Program Files\VC\INCLUDE\cstdlib(41): error C2873: 'at_quick_exit': symbol cannot be used in a using-declaration
D:\Program Files\VC\INCLUDE\cstdlib(41): error C2039: 'quick_exit': is not a member of '`global namespace''
D:\Program Files\VC\INCLUDE\cstdlib(41): error C2873: 'quick_exit': symbol cannot be used in a using-declaration
D:\Program Files\VC\INCLUDE\malloc.h(169): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\malloc.h(169): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\malloc.h(255): error C2144: syntax error: 'void' should be preceded by ';'
D:\Program Files\VC\INCLUDE\malloc.h(255): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\malloc.h(255): warning C4273: '_CRTNOALIAS': inconsistent dll linkage
D:\Program Files\VC\INCLUDE\stdlib.h(657): note: see previous definition of '_CRTNOALIAS'
D:\Program Files\VC\INCLUDE\wchar.h(715): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(715): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(715): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(719): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(719): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(719): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(720): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(720): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(720): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(729): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(729): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(729): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(731): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(731): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(731): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(733): warning C4003: not enough actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_NFUNC_0_2_ARGLIST_EX'
D:\Program Files\VC\INCLUDE\wchar.h(733): error C2146: syntax error: missing ';' before identifier '_vsnwprintf'
D:\Program Files\VC\INCLUDE\wchar.h(733): error C2143: syntax error: missing ',' before '*'@progress 'Compiling C++ source code...' 12%

D:\Program Files\VC\INCLUDE\wchar.h(733): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(733): error C2199: syntax error: found 'wchar_t (' at global scope (was a declaration intended?)
D:\Program Files\VC\INCLUDE\wchar.h(733): error C2062: type 'wchar_t' unexpected
D:\Program Files\VC\INCLUDE\wchar.h(760): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(760): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(760): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(763): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(763): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(763): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(770): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(770): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(770): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(772): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(772): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(772): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(787): warning C4003: not enough actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_ARGLIST_EX'
D:\Program Files\VC\INCLUDE\wchar.h(787): error C2146: syntax error: missing ';' before identifier '_swprintf_s'
D:\Program Files\VC\INCLUDE\wchar.h(787): error C2143: syntax error: missing ',' before '*'
D:\Program Files\VC\INCLUDE\wchar.h(787): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(787): error C2146: syntax error: missing ';' before identifier 'vswprintf_s'
D:\Program Files\VC\INCLUDE\wchar.h(787): error C2733: 'vswprintf_s': second C linkage of overloaded function not allowed
D:\Program Files\VC\INCLUDE\wchar.h(719): note: see declaration of 'vswprintf_s'
D:\Program Files\VC\INCLUDE\wchar.h(788): warning C4003: not enough actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_2_ARGLIST_EX'
D:\Program Files\VC\INCLUDE\wchar.h(788): error C2146: syntax error: missing ';' before identifier '__vswprintf_l'
D:\Program Files\VC\INCLUDE\wchar.h(788): error C2143: syntax error: missing ',' before '*'
D:\Program Files\VC\INCLUDE\wchar.h(788): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(788): error C2146: syntax error: missing ';' before identifier '_vswprintf_s_l'
D:\Program Files\VC\INCLUDE\wchar.h(788): error C2733: '_vswprintf_s_l': second C linkage of overloaded function not allowed
D:\Program Files\VC\INCLUDE\wchar.h(763): note: see declaration of '_vswprintf_s_l'
D:\Program Files\VC\INCLUDE\swprintf.inl(40): error C3861: '_crt_va_start': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(42): error C3861: '_crt_va_end': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(64): error C3861: '_crt_va_start': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(66): error C3861: '_crt_va_end': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(88): error C3861: '_crt_va_start': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(89): error C3861: '_vswprintf': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(90): error C3861: '_crt_va_end': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(99): error C3861: '_vswprintf': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(108): error C3861: '_crt_va_start': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(109): error C2660: '__vswprintf_l': function does not take 4 arguments
D:\Program Files\VC\INCLUDE\swprintf.inl(110): error C3861: '_crt_va_end': identifier not found
D:\Program Files\VC\INCLUDE\swprintf.inl(119): error C2660: '__vswprintf_l': function does not take 4 arguments
D:\Program Files\VC\INCLUDE\wchar.h(826): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(826): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(826): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(828): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(828): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(828): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(831): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(831): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(831): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(832): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(832): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(832): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(836): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(836): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(836): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(838): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(838): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(838): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(1030): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(1030): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(1030): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\wchar.h(1039): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(1039): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(1039): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\wchar.h(1059): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(1059): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(1059): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\wchar.h(1070): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(1070): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(1070): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\wchar.h(1079): error C2144: syntax error: 'wchar_t' should be preceded by ';'
D:\Program Files\VC\INCLUDE\wchar.h(1079): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(1079): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(1091): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(1091): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(1091): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\wchar.h(1095): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\wchar.h(1095): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\wchar.h(1095): error C2146: syntax error: missing ';' before identifier 'errno_t'
D:\Program Files\VC\INCLUDE\wchar.h(1219): error C2371: 'mbstate_t': redefinition; different basic types
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt.h(475): note: see declaration of 'mbstate_t'
D:\Program Files\VC\INCLUDE\wchar.h(1256): error C2676: binary '==': 'const mbstate_t' does not define this operator or a conversion to a type acceptable to the predefined operator
D:\Program Files\VC\INCLUDE\stdio.h(288): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdio.h(288): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdio.h(288): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\stdio.h(290): error C2144: syntax error: 'int' should be preceded by ';'
D:\Program Files\VC\INCLUDE\stdio.h(290): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\Program Files\VC\INCLUDE\stdio.h(290): error C2086: 'int _CRTIMP_ALTERNATIVE': redefinition
D:\Program Files\VC\INCLUDE\stdlib.h(796): note: see declaration of '_CRTIMP_ALTERNATIVE'
D:\Program Files\VC\INCLUDE\stdio.h(290): fatal error C1003: error count exceeds 100; stopping compilation
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: 
Total build time: 6.91 seconds

I am then prompted to open the project in VS, which works fine, however when I build the solution there are a large number of errors around 150, nearly all being compiler errors and one whose error code is MSB3073. I have tried uninstalling and reinstalling VS, and then again with VS and UE which has not solved anything.
Please help I was really looking forward to working on some projects, thanks

OK so I have reinstalled Visual Studio with all the optional files just incase that was the issue, but now when I try and run Unreal Engine and error saying
“The program can’t start because VCRUNTIME140.dll is missing. Please reinstall” After reinstalling the same error message appears.