【发布时间】:2012-07-23 16:14:08
【问题描述】:
我正在尝试解析this page!
string str2 ("<span class=\"time_rtq_ticker\"><span id=\"yfs_l10_usdsgd=x\">");
size_t found;
// different member versions of find in the same order as above:
found=sdata.find(str2);
if (found!=string::npos)
cout << "first 'needle' found at: " << int(found) << endl;
在我获得模式“针”的位置后如何获得货币汇率,我希望它在之后停止解析
对不起,我这样做是为了我的一个小项目,不是商业的,只是一些小作品
【问题讨论】:
-
雅虎不为此提供网络服务吗?哪个更简单
标签: c++