c++ 天气预报源代码
来源:互联网 发布:知乎的运营模式 编辑:程序博客网 时间:2024/06/08 19:25
在vs2010下运行的一款c++的联网获取天气预报的代码,希望对初学者有所帮助,代码的注释也很详细,如果又不懂或者出错的地方请留言。
有界面用easyx做的界面,去eaxyx官网下载,
网页的抓取代码:
/*{"results":[{"location":{"id":"WX4FBXXFKE4F","name":"北京","country":"CN","path":
"北京,北京,中国","timezone":"Asia/Shanghai","timezone_offset":"+08:00"},"daily":
[{"date":"2016-06-14","text_day":"雷阵雨","code_day":"11","text_night":"阵雨","code_night"
:"10","high":"24","low":"17","precip":"","wind_direction":"无持续风向","wind_direction_degree"
:"0","wind_speed":"10","wind_scale":"2"},{"date":"2016-06-15","text_day":"多云","code_day":"4"
,"text_night":"晴","code_night":"0","high":"30","low":"17","precip":"0","wind_direction":"无持续风向",
"wind_direction_degree":"","wind_speed":"10","wind_scale":"2"},{"date":"2016-06-16","text_day":"多云","code_day":"4"
,"text_night":"多云","code_night":"4","high":"33","low":"20","precip":"0","wind_direction":"无持续风向","wind_direction_degree":"
","wind_speed":"10","wind_scale":"2"}],"last_update":"2016-06-14T18:00:00+08:00"}]}*/
做成后的图:
源代码下载地址:::http://download.csdn.net/detail/clx55555/9718402
- 天气预报源代码
- 天气预报的源代码
- JS获取天气预报源代码
- windows phone7天气预报源代码
- 天气预报源代码sbsWeather解析
- c++ 天气预报源代码
- 实现自己的天气预报(源代码)
- c#windowform天气预报
- 天气预报的RSS数据读取(免费天气预报源代码)
- 查询天气预报的Webservice接口程序源代码
- 查询天气预报的Webservice接口程序源代码
- 查询天气预报的Webservice接口程序源代码
- 查询天气预报的Webservice接口程序源代码
- 天气预报
- 天气预报
- 天气预报
- 天气预报
- 天气预报
- 用树莓派搭建你自己的Web服务器,以及一个可以外网访问的Blog
- STL unique函数
- 第八周拓展—小明借书
- 执行make命令时报错g++: Command not found
- java基础总结
- c++ 天气预报源代码
- Android基础——框架模式MVP在安卓中的实践
- 解决通过NuGet更新第三方包时提示不兼容的问题
- Leetcode 57 Insert Interval
- UGUI--背包系统之四--------Item
- Spring Boot 入门
- 在Android Studio里使用lambda表达式
- 拷贝文件夹到手机内存或者手机内存卡
- UGUI--背包系统之五--------Tootip