I am trying to build my cpp file but it's only on running status
[Running] cd "/Users/divyanshudobriyal/Desktop/C++_programs/" && g++ -stdlib=libc++ -std=c++11 Dijkstra.cpp -o Dijkstra && "/Users/divyanshudobriyal/Desktop/C++_programs/"Dijkstra
This is how my Settings.json file looks like
{
"code-runner.executorMap": {
"cpp": "cd $dir && g++ -stdlib=libc++ -std=c++11 $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
},
"C_Cpp.default.cppStandard": "c++11"
}
This is how my c_cpp_properties.json file looks
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"macFrameworkPath": [],
"compilerPath": "/usr/local/bin/gcc-10",
"cStandard": "gnu17",
"cppStandard":"c++11",
"intelliSenseMode": "macos-gcc-x64"
}
],
"version": 4
}
Can anybody help?
Aucun commentaire:
Enregistrer un commentaire