'I am not being able to run c/c++ programs in vscode in macbook air m1

enter image description hereEverytime i try to run a program it says launch program does not exist enter image description herehere is my json file

I thought it will run but it doesnt I even followed some solutions but they didnt work i have homebrew installed and all the neccesary extensions in vscode.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source