|
原帖由 2011895866818 于 2012-9-16 00:58 发表
我的编程手段,还很稚嫩,想写个图形界面,都没有实行,请指教.
我用VS2005编译,老是通不过,报错:
e:\my documents\visual studio 2005\projects\bdf2hex\bdf2hex\bdf2hex.cpp(353) : warning C4267: “=”: 从“size_t”转换到“int”,可能丢失数据
d:\program files\microsoft visual studio 8\vc\include\fstream(548) : error C2248: “std::basic_streambuf<_Elem,_Traits>::operator =”: 无法访问 private 成员(在“std::basic_streambuf<_Elem,_Traits>”类中声明)
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
d:\program files\microsoft visual studio 8\vc\include\streambuf(23) : 参见“std::basic_streambuf<_Elem,_Traits>::operator =”的声明
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
此诊断出现在编译器生成的函数“std::basic_filebuf<_Elem,_Traits> &std::basic_filebuf<_Elem,_Traits>::operator =(const std::basic_filebuf<_Elem,_Traits> &)”中
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
d:\program files\microsoft visual studio 8\vc\include\ostream(581) : error C2249: “std::basic_ios<_Elem,_Traits>::operator =”: 没有到 private 成员(在“std::basic_ios<_Elem,_Traits>”虚拟基中声明)的访问路径
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
d:\program files\microsoft visual studio 8\vc\include\ios(152) : 参见“std::basic_ios<_Elem,_Traits>::operator =”的声明
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
此诊断出现在编译器生成的函数“std::basic_ostream<_Elem,_Traits> &std::basic_ostream<_Elem,_Traits>::operator =(const std::basic_ostream<_Elem,_Traits> &)”中
with
[
_Elem=char,
_Traits=std::char_traits<char>
] 怎么回事?谢谢指教! |
|