gpt4 book ai didi

c++ - Rextester语言编译C++问题

转载 作者:行者123 更新时间:2023-12-03 07:37:57 24 4
gpt4 key购买 nike

我一直在将rextester用于各种语言,并且一直在非常有效地工作。这只是导致一种语言的问题,这是C++(clang)

参数如下:-

LanguageChoice: C++ (clang) = 27

程序:
#include <iostream>
int main()
{
std::cout << "Hello, world!\n";
}

Input: Is empty

CompilerArgs: -Wall -std=c++14 -stdlib=libc++ -O2 -o a.out source_file.cpp

这是我一直点击的URL:

https://rextester.com/rundotnet/api?LanguageChoice=27&Program=#include int main(){std::cout <<“Hello,world!\ n”;}&Input =&CompilerArgs = -Wall -std = c++ 14 -stdlib = libc++ -O2 -o a.out source_file.cpp

Response: { "Warnings": null, "Errors": "Compiler args must contain '-o a.out'", "Result": null, "Stats": "Compilation time: 0 sec, absolute service time: 0 sec", "Files": null }



Url in the chorme

请帮助!

最佳答案

关于c++ - Rextester语言编译C++问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52867655/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com