耗尽积分, 请老师转换一个C函数为delphi函数. 致谢!(300)

wql

New Member
Member
#4
呵呵!难点一if(!h.p2||!h.p3) 要怎么翻译才好?这样翻译:if (h.p2<>0) or (h.p3<>) then
难点二int nC = (i==11 ? 2:3);
这个问号该怎么翻译?if i=11 then
nc=2 else
nc=3;
 

冰力不足

New Member
Member
#5
来自:wql, 时间:2009-5-4 9:15:46, ID:3956690呵呵!难点一if(!h.p2||!h.p3) 要怎么翻译才好?这样翻译:if (h.p2<>0) or (h.p3<>) then
难点二int nC = (i==11 ? 2:3);
这个问号该怎么翻译?if i=11 then
nc=2 else
nc=3;
感谢!
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)