compile C with VScode

Ngô Kiên 20 Reputation points
2023-02-08T15:31:26.7133333+00:00

First, I have an error with #include <stdio.h>, I upgraded g++(minGW64) and dowload C/C++ Compile Run extension.
But now my #include has changed to gray and I can't Ctrl+F5.
Pls help me, what wrong with my VScode

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,851 questions
0 comments No comments
{count} votes

Accepted answer
  1. YujianYao-MSFT 4,291 Reputation points Microsoft Vendor
    2023-02-09T02:11:17.7733333+00:00

    Hi Ngô Kiên,

    Thanks for taking time to report this problem with us. Since your question is more related to VSCode, you could go to GitHub for support.

    Best regards,

    Elya


    If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 71,266 Reputation points
    2023-02-08T19:04:39.0433333+00:00

    did you follow these directions:

    https://code.visualstudio.com/docs/cpp/config-mingw

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.