cpp error code update solutions