unsigned char GetMy(unsigned char* source,unsigned char leng) reentrant
{
for(;leng!=0;leng--)
{
dscrc=aa[dscrc^(*source)];
source++;
}
return(dscrc);
}问题为:在DELPHI里用什么类型代替C语言下的char*
{
for(;leng!=0;leng--)
{
dscrc=aa[dscrc^(*source)];
source++;
}
return(dscrc);
}问题为:在DELPHI里用什么类型代替C语言下的char*
解决方案 »
- DBGridEh的字段如何实现日期格式的输入?
- 请问 Shell32_TLB.dcu 是什么控件中的呢?50分求助
- 如何调用外部dll函数?
- 从delphi5到delphi7关于line too long的问题怎么办?
- help
- 小问题,送份啦。
- 用文本文件的内容更新excle表格的内容?
- 各位好。欢迎大家登陆nba.com去给姚明投票呀。。。。。加散分呀
- 错误Project xx.exe raiseed exception calss Eaccessviolation with message 'Access Violntion at address' B03F511 in module' msjet4
- (在线等)想认识有用delphi7编写webservice服务和客户端程序的朋友,有问题要请教!谢谢
- 再线等待!!如何合并swf文件。谢谢帮忙~~~
- 帮帮我呀????
//{
Begin
//for(;leng!=0;leng--)
while leng<>0 do
//{
begin //dscrc=aa[dscrc^(*source)];
dscrc:=aa[dscrc xor (source^)];//若数组aa的定义下标非从0开始,则须+1
//source++;
inc(source);
dec(leng);
//}
end;
//return(dscrc);
Result:=dscrc;
//}
End;
Begin
while leng<>0 do
begin
dscrc:=aa[dscrc xor (source^)];
inc(source);
dec(leng);
end;
Result:=dscrc;
End;