怎么用共用体
Compiling...ceshi.cpp
E:\c++\ceshi.cpp(14) : error C2628: 'one' followed by 'int' is illegal (did you forget a ';'?)
E:\c++\ceshi.cpp(24) : error C2440: 'return' : cannot convert from 'const int' to 'union one'
No constructor could take the source type, or constructor overload resolution was ambiguous
E:\c++\ceshi.cpp(27) : warning C4508: 'main' : function should return a value; 'void' return type assumed
执行 cl.exe 时出错.
为什么是这样呢?