首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
specifier专题
C++工程,枚举类输出运算符重载,elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword
文章目录 1,原始代码2,运行没问题,但编译会有警告:elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword3,修改 1,原始代码 #include <iostream>enum class TreeType : int {PINE = 1,CYPRESS = 2,WILLOW
阅读更多...
mysql 报错 1063 - Incorrect column specifier for column
create table `grade`(`gradeid` VARCHAR(50) not null AUTO_INCREMENT comment '编号', `gradename` VARCHAR(50) not null comment '名称',primary key(`gradeid`))ENGINE=INNODB DEFAULT CHARSET=utf8; [Err] 10
阅读更多...