mt5获取双色球

string cookie=NULL,headers; 
char   post[],result[]; 
string ssq=""; 
string url="http://kaijiang.zhcw.com/zhcw/html/ssq/list_1.html"; 
ResetLastError(); 
int res=WebRequest("GET",url,cookie,NULL,500,post,0,result,headers);  
StringSetCharacter(ssq,0,result[1686]);StringSetCharacter(ssq,1,result[1687]);
StringSetCharacter(ssq,2,result[1732]);StringSetCharacter(ssq,3,result[1733]);
StringSetCharacter(ssq,4,result[1778]);StringSetCharacter(ssq,5,result[1779]);
StringSetCharacter(ssq,6,result[1824]);StringSetCharacter(ssq,7,result[1825]);
StringSetCharacter(ssq,8,result[1870]);StringSetCharacter(ssq,9,result[1871]);
StringSetCharacter(ssq,10,result[1916]);StringSetCharacter(ssq,11,result[1917]);
StringSetCharacter(ssq,12,result[1961]);StringSetCharacter(ssq,13,result[1962]);
Print(ssq);

  

posted @ 2021-11-05 20:24  疯陈演义  阅读(80)  评论(0编辑  收藏  举报