C++继续学习 Error C2243 Posted on 2009-09-29 Edited on 2023-10-05 Word count in article: 153 Reading time ≈ 1 mins. error C2243: ‘type cast’ : conversion from “XX” to “OO” exists, but is inaccessible 这是为啥米?你应该看看那个XX的定义,是否是class XX : public OO,如果没有写public,或者写成protected,或者是private都不能进行转换。