python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Can't use std::format in c++20
I've been trying to use the std::format function included in C++20. As far as I can tell, clang 14 is supposed to support this feature, but for some reason I am receiving the following error: no membe...
Saerynity
Votes: 0
Answers: 2
cmake and clang++ windows build instead of MSVC
I am trying to create a build environment using cmake and i have both MSVC and clang installed on my system.
When I run cmake with the default settings it detectts MSVC as my cxx compiler.
However, I ...
matt
Votes: 0
Answers: 2
Default C++ standard is c++98 in Apple Clang++ 13
I am new to macOS. I have a m1 Macbook ruing macOS Monterey. I am compiling and running c++ code in terminal.
The clang++ version is:
clang++ --version ...
Piffle Chur
Votes: 0
Answers: 0
c++ - "%" gets added to the standard output
This is my code
#include<iostream>
using namespace std;
int main() {
cout<<"hello";
return 0;
}
The output is
/Users/aj/Documents/c++ programs % clang++ prog.cp...
Ajay Sabarish
Votes: 0
Answers: 1