Skip to content

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

@Tomato-in

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

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