cph icon indicating copy to clipboard operation
cph copied to clipboard

how to compile c++ 17 code

Open sushantdev-git opened this issue 3 years ago • 1 comments

I'm getting this error with compiling with c++17 Is the compiler g++ '-std=c++17' installed? Check the compiler command in cph settings for the current language.

when i'm compiling from terminal with g++ -std=c++17 with this command, then file is compiling but not with cph

sushantdev-git avatar Mar 11 '22 06:03 sushantdev-git

I also get similar error when I use the auto keyword in C++

image

VarunArora14 avatar Jun 14 '22 11:06 VarunArora14