For Macs, just download GCC from home-brew, that is how it worked for me and change your compiler to gcc in your preferred IDE, it may still show error for bits/stdc++.h and ordered set libraries when importing but the code will compile for you, to fix the linter you will have to go through a lot of trouble which I dont believe is necessary.
For Macs, just download GCC from home-brew, that is how it worked for me and change your compiler to gcc in your preferred IDE, it may still show error for bits/stdc++.h and ordered set libraries when importing but the code will compile for you, to fix the linter you will have to go through a lot of trouble which I dont believe is necessary.