I am not familiar with this topic, but I did notice a user was having troubles installing the c/c++ extension the other day, and they posted their solution here:
Apologies if the post is not relevant to your issue.
Also, it might be helpful if you add system info from:
Cursor
> Help
> About