Skip to content

请问testdebug时 cpp 是固定c++17标准吗? #49

Description

@Tomato-in

您好,我在使用c++20的语法特征时,发生错误。
如下图所示,请问这个插件使用cpp做题时是默认使用 c++17标准吗?可以修改吗?
Command failed: g++ -I . -g main/main.cpp "-std=c++17" -o main/main

image

下面是我C/C++插件的设置:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions