【发布时间】:2012-09-24 04:14:23
【问题描述】:
我无法显示由某些文本和整数组合而成的消息
这是我的代码:
int integerNumberOfImportantAppointments = calCalendar.getNumberOfImportantAppointments();
if (integerNumberOfImportantAppointments > 0)
{
ShowMessage("You have " + integerNumberOfImportantAppointments + " important appointments. Do you wish to view them?");
}
我收到以下错误:E2085 无效的指针添加
我可以帮我解决这个问题吗?
谢谢
【问题讨论】:
标签: c++ string integer message