417 errors just opening C++ project before I even write code.

chris willoughby 21 Reputation points
2020-08-25T06:48:57.677+00:00

errorhell.jpg​ Hi, I apologize if I am posting in the wrong place.
I am trying to write a simple program in C++ using Visual Studio and no matter how I set up the project, whatever template option is offered, I get about 417 errors.
Before I even write any code.

Some of the errors are about 'Global Scope' and some say cannot open include file:'stdio.h', for example.
I have no problems with C# projects in Visual Studio, only C++.
I have no idea what's wrong.
If anyone can please steer me in the right direction, I would be thankful. 20009-153103-errorhell.jpg

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,602 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
0 comments No comments
{count} votes

Accepted answer
  1. WayneAKing 4,921 Reputation points
    2020-08-25T07:18:46.483+00:00

    You may be missing some required component(s) in the VS
    installation. You appear to be getting errors re missing
    header files from the C standard library. Make sure that
    you have installed the Windows Universal C Runtime.

    Also always state which version (and edition) of Visual
    Studio you're using.

    • Wayne
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. chris willoughby 21 Reputation points
    2020-08-27T05:15:55.937+00:00

    Thanks a lot for the feedback.
    It's VS 2019 community edition. Peace.

    0 comments No comments