什么叫hard-coded string?C++Builder中对异常类的描述中有一段:“Msg is the string containing the runtime error message to display in the exception dialog box.Msg can be a hard-coded string,or can be a function call that returns a strin

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/07 21:51:49

什么叫hard-coded string?C++Builder中对异常类的描述中有一段:“Msg is the string containing the runtime error message to display in the exception dialog box.Msg can be a hard-coded string,or can be a function call that returns a strin
什么叫hard-coded string?
C++Builder中对异常类的描述中有一段:
“Msg is the string containing the runtime error message to display in the exception dialog box.Msg can be a hard-coded string,or can be a function call that returns a string.”其中的hard-coded是什么意思?

什么叫hard-coded string?C++Builder中对异常类的描述中有一段:“Msg is the string containing the runtime error message to display in the exception dialog box.Msg can be a hard-coded string,or can be a function call that returns a strin
一般译为“硬编码”,就是指直接做为固定内容写入了程序,而不是做为变量什么的.