DEV Community

loading...

Discussion on: Running C++17 on Mac M1

Collapse
cryptic profile image
Cryptic • Edited

is there any method through which we don't have to write this command again and again
and btw thanku so much it worked for me
ok i got it answer of my question use code runner extention in vs code and go to its json file and find cpp and change that line to
"cpp": "cd $dir && c++ --std=gnu++17 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
this