p2p网黑名单查询:什么叫hard-coded string?

来源:百度文库 编辑:高考问答 时间:2024/04/30 08:36:11
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是什么意思?

一般译为“硬编码”,就是指直接做为固定内容写入了程序,而不是做为变量什么的。

写死在程序中了

或者说固定的