Hi! Visual Studio requires you to have administrative privileges if the file you are opening is in a location that requires elevated permissions, such as Local Disk C, Windows Folder, etc.
Is your C++ file in the cloud, on a secondary HDD, Desktop, Documents, or External HD?
Close Visual Studio > Right-click the shortcut > Run as administrator > Try opening the file now.