请问哪位高人可以把这段JAVASCRIPT代码转换成VC代码(加分或RMB都可以)
<script language=jscript >
decstring="%u7468%u7074"
//请上面decstring后面的值替代
s=unescape(decstring);
var c;
var h,l=0;
for(var i=0;i <s.length;i++)
{
c=s.charCodeAt(i);
l=c%256;
h=(c-l)/256;
document.write(String.fromCharCode(l)+String.fromCharCode(h));
}
</script >
------------------------------------------------------------------ <script language=jscript >
function gen(url)
{
var i=0,l=0,k=0,curl="";
l= url.length;
for(;i <l;i++){
k=url.charCodeAt(i);
if(k <16)curl+="0"+k.toString(16);else curl+=k.toString(16);}
if (l%2){curl+="00";}else{curl+="0000";}
curl=curl.replace(/(..)(..)/g,"%u$2$1");
return curl;
}
document.write(gen("http://www.baidu.com/1.exe"));
</script >
如果可以的话,只要价格不过分,请加我QQ:813681详谈
------解决方案--------------------
VC可以执行javascript的