win+r,输入regedit,HKEY_CLASSES_ROOT下找到.CPP
右键—>新建—>项,名字叫ShellNew
然后在右边:右键—>新建—>字符串值,名字叫做NullFile