我错在哪里?????大家帮我看看

gaozilin 2006-09-18 12:31:23
TDateTime t;
TDateTime time=t+7;
t = ClassDatePicker->Date;
short int year,month,day ;
t.DecodeDate( &year, &month, &day);
NMHTTP->Get("");
[C++ Error] Export.cpp(4271): E2034 Cannot convert 'short *' to 'unsigned short *'
...全文
65 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
wt_sanlian 2006-09-18
  • 打赏
  • 举报
回复
t.DecodeDate 的参数类型为unsigned short

将申明改一下就可以了
....
unsigned short int year,month,day ;

t.DecodeDate( &year, &month, &day);

....

13,874

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder相关内容讨论区
社区管理员
  • 基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧