No, it is not possible to use scanf to read an enum type -- at least, not portably. The problem is that you do not know how big the enum is.
確定! 回上一頁