“This conversion requires a reinterpret_cast,a C-style cast
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/13 08:38:06
“This conversion requires a reinterpret_cast,a C-style cast or function-style cast ”这句话什么意
这是C++编译器提示的错误,大概意思是“这个(种)转换需要一个再说明的强制类型转换,一个C样式或者函数样式的强制类型转换”,比如C++语句:
“char A;
A="a";
是不对的,错出在"a"这里.因为char A;这个语句是定义一个字符变量(注意是一个),而双引号引起来的部分是字符串常量(注意串),字符变量A只能容纳一个字符,而不能容纳一个字符串,要改为单引号才对,因为用单引号以后只是一个字符常量,才能容纳...希望对你有所帮助!
“char A;
A="a";
是不对的,错出在"a"这里.因为char A;这个语句是定义一个字符变量(注意是一个),而双引号引起来的部分是字符串常量(注意串),字符变量A只能容纳一个字符,而不能容纳一个字符串,要改为单引号才对,因为用单引号以后只是一个字符常量,才能容纳...希望对你有所帮助!
cast a
this gate requires a key to
This coat is ( )a modern style
This requires a better understand of__you are and __you want
This repository requires a more recent version of the
Success in this field requires intelligence,and talent,and,a
This game requires a newer version of windows,or a newer ser
This game requires a video card with a minimum of 32MB VRAM
英语翻译This requires a company to observe certain rules and pro
玩魔兽争霸时出现this version or warcraft 3 requires a specific langu
英语翻译This survey requires a passcode to begin.Please enter th
( )a language requires times ang effort A Learn B Learning C