﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-</title><link>http://www.cppblog.com/ourvc/</link><description /><language>zh-cn</language><lastBuildDate>Sat, 04 Apr 2026 20:59:58 GMT</lastBuildDate><pubDate>Sat, 04 Apr 2026 20:59:58 GMT</pubDate><ttl>60</ttl><item><title>IPhone开发第一步-安装MAC系统</title><link>http://www.cppblog.com/ourvc/archive/2012/09/21/191453.html</link><dc:creator>OUR!!CPP</dc:creator><author>OUR!!CPP</author><pubDate>Fri, 21 Sep 2012 02:19:00 GMT</pubDate><guid>http://www.cppblog.com/ourvc/archive/2012/09/21/191453.html</guid><wfw:comment>http://www.cppblog.com/ourvc/comments/191453.html</wfw:comment><comments>http://www.cppblog.com/ourvc/archive/2012/09/21/191453.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/ourvc/comments/commentRss/191453.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/ourvc/services/trackbacks/191453.html</trackback:ping><description><![CDATA[&nbsp;&nbsp; &nbsp;&nbsp; 因为开发任务，所以即使不喜欢吃苹果，当然，这里的苹果是指乔布斯的苹果了。即使不喜欢啃，也得硬着头皮啃了。<br />&nbsp;&nbsp; &nbsp;&nbsp; 落实任务后的第一步，自然是百度输入IPHONE，一个字，热！输入&#8220;iphone开发&#8220;，都是博客，一个比较热门的，算cocoachina了，许多个人的博客，都是转载来转载去的，但如何从这么多&#8221;素材&#8220;中提炼出对自己有用的，整理、归纳，方便其他的同事也能按部就班来搭设开发、熟悉IDE还有部署调试程序，这才是比较重要的，在以后的博客里，我也会一一述说。<br />&nbsp;&nbsp; &nbsp;&nbsp; 接到的开发的任务是给公司正在开发的一个服务于现在正日渐兴起的自驾、自助游领域用户的综合性驴友平台【http://www.lvjia.cn】开发手机端应用，方便用户在出游时能通过手机选择合适的日租房。<br />&nbsp;&nbsp; &nbsp;&nbsp; 一切怎么开始？网上找到了份在PC机上安装苹果操作系统MAC的文档，但传说中，在PC机装MAC是兼容性概率问题，失败者居多，轻者装成功后不稳定，严重者连装都没法开始。不在PC装，那就得烧钱去买苹果机了，那是我们草根程序员所不能接受的。所以说，这苹果真的很难啃，连看下都难。<br />&nbsp;&nbsp; &nbsp;&nbsp; 还好是在公司，机器多的是。第一台机子刚开始要准备安装时，一朵&#8220;菊花&#8221;就在显示器上旋转着，然后就一直那样。。。本来就已经有点像买彩票开奖的心理，所以就更加紧张了。半个小时过去了，&#8220;菊花&#8221;依旧，关机吧，没希望。<br />&nbsp;&nbsp; &nbsp;&nbsp; 继续找了一台机器，嘿！&#8220;菊花&#8221;依旧，不过，这次不用半分钟，就开始走动了，然后看到了一个UI，之后就在那里停了，等！又是几分钟过去了，还是不行，RESET重来。一个熟悉LINUX的同事赐教如何看系统启动的过程，VERBOSE命令，MAC也有。幸运儿，继续看，确实，在某处XXXX一大片英文的地方，看到了Hung！没辙。<br />&nbsp;&nbsp; &nbsp;&nbsp; 第三台，是一台集成显卡的机器，前两台都是有带显卡的。按照文档说的流程，选择了合适的驱动，有惊无险，顺顺利利，进度条揪着我的神经在走动了。<br />&nbsp;&nbsp; &nbsp;&nbsp; 成功了。第三台机器就成功了，集成945G的显卡，能成功进入，虽然苹果以图形处理能力著称，不过由于是挺落后的PC，且自带显卡，所以我就看不到那灿烂的苹果了，能装上，就已经是很幸运了。接着，破解、安装XCODE，一个环境就好了。<br />&nbsp;&nbsp; &nbsp;&nbsp; 有需要安装文档的朋友，访问http://www.lvjia.cn/iphone，文档我已经有做了整合，把安装过程还有安装后的破解等细节我都做了整合，网上下载相关程序就可以完成安装。好的开始是成功的第一步。<br />&nbsp;&nbsp; &nbsp;&nbsp; 进入系统后，XCODE一切都正常，但接下来，就是OBJECTIVE-C了，快速上手，不是不可能，下次我再和大家分享。<br /><div>&nbsp;&nbsp; &nbsp;&nbsp; 此外，如果安装文档里解释不清楚，可以关注驴家网微博http://e.weibo.com/u/2757677831并私信给我，同时我也会在微博上收集好友的各种问题，提供一个对大家都有帮助的环境。</div><img src ="http://www.cppblog.com/ourvc/aggbug/191453.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/ourvc/" target="_blank">OUR!!CPP</a> 2012-09-21 10:19 <a href="http://www.cppblog.com/ourvc/archive/2012/09/21/191453.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>IPHONE的开发，从0学起</title><link>http://www.cppblog.com/ourvc/archive/2012/09/20/191350.html</link><dc:creator>OUR!!CPP</dc:creator><author>OUR!!CPP</author><pubDate>Thu, 20 Sep 2012 02:12:00 GMT</pubDate><guid>http://www.cppblog.com/ourvc/archive/2012/09/20/191350.html</guid><wfw:comment>http://www.cppblog.com/ourvc/comments/191350.html</wfw:comment><comments>http://www.cppblog.com/ourvc/archive/2012/09/20/191350.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/ourvc/comments/commentRss/191350.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/ourvc/services/trackbacks/191350.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 乔布斯虽故，但IPHONE依旧是他留给这个世界最伟大的财富。一直IPHONE以不可阻挡之势雄称智能手机之王。NOKIA、三星、索爱等手机巨头则渐渐淡出消费者的视线。在这IPHONE已经普及的社会，作为一名程序员，不学IPHONE开发，感觉就如2000年不学C#一样的可惜。<br />&nbsp;&nbsp; &nbsp;&nbsp; 虽说现在IPHONE普及，但IPHONE的开发资料缺少、搭建IPHONE的开发环境问题多多，部署、调试更是前所未及，更要命的是一门新的语言成为一道最大的入门坎，使得很多精打细算的程序员都抓不着头脑。<br />&nbsp;&nbsp; &nbsp;&nbsp; 而新运营的一个旅游网站-驴家网【http://www.lvjia.cn】，又刚刚好需要支持移动设备应用开发，硬着头皮，打开百度，输入了【IPHONE开发】，开始了为期一个月的学习。。。。<br />&nbsp;&nbsp; &nbsp;&nbsp; 如今关于IPHONE的应用开发，已经上手，用你手头的PC机，拿一台越狱的IPHONE实机调试，而不用付苹果一分钱，那种感觉我相信是许多和我一样从0做起的程序员所需要的。在接下来的博客中，我将把这一个月所经历的和大家一同分享。<br />&nbsp;&nbsp; &nbsp;&nbsp; 驴家网官方博客已经通过新浪认证，有兴趣的朋友也可以加粉。感觉该博客还是挺趣味的。至少，普及下旅游知识，呵呵。http://e.weibo.com/u/2757677831 <img src ="http://www.cppblog.com/ourvc/aggbug/191350.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/ourvc/" target="_blank">OUR!!CPP</a> 2012-09-20 10:12 <a href="http://www.cppblog.com/ourvc/archive/2012/09/20/191350.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>关注的驴家日租房网站【www.lvjia.cn】</title><link>http://www.cppblog.com/ourvc/archive/2012/09/20/191345.html</link><dc:creator>OUR!!CPP</dc:creator><author>OUR!!CPP</author><pubDate>Thu, 20 Sep 2012 01:59:00 GMT</pubDate><guid>http://www.cppblog.com/ourvc/archive/2012/09/20/191345.html</guid><wfw:comment>http://www.cppblog.com/ourvc/comments/191345.html</wfw:comment><comments>http://www.cppblog.com/ourvc/archive/2012/09/20/191345.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/ourvc/comments/commentRss/191345.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/ourvc/services/trackbacks/191345.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 随着交通的发达还有旅游的日渐兴起，日租房已经成了新型的自驾游、自助游的住宿首选。<br />&nbsp;&nbsp; &nbsp;&nbsp; 关注一个新的网站的发展，上个月学习了OBJECTIVE-C，初步掌握IPHONE的应用开发，筹划着为这驴友之家的网站网站做个iphone应用，帮助更多的驴友方便快捷的找到需要的住宿。不知大伙有啥建议？<br />&nbsp;&nbsp; &nbsp;&nbsp; 附：驴家网【<a href="www.lvjia.cn">http://www.lvjia.cn</a>】<img src ="http://www.cppblog.com/ourvc/aggbug/191345.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/ourvc/" target="_blank">OUR!!CPP</a> 2012-09-20 09:59 <a href="http://www.cppblog.com/ourvc/archive/2012/09/20/191345.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>周六周日放松下</title><link>http://www.cppblog.com/ourvc/archive/2012/04/13/171240.html</link><dc:creator>OUR!!CPP</dc:creator><author>OUR!!CPP</author><pubDate>Fri, 13 Apr 2012 06:00:00 GMT</pubDate><guid>http://www.cppblog.com/ourvc/archive/2012/04/13/171240.html</guid><wfw:comment>http://www.cppblog.com/ourvc/comments/171240.html</wfw:comment><comments>http://www.cppblog.com/ourvc/archive/2012/04/13/171240.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/ourvc/comments/commentRss/171240.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/ourvc/services/trackbacks/171240.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 非技术文章：离开两天&nbsp;&nbsp;<a href='http://www.cppblog.com/ourvc/archive/2012/04/13/171240.html'>阅读全文</a><img src ="http://www.cppblog.com/ourvc/aggbug/171240.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/ourvc/" target="_blank">OUR!!CPP</a> 2012-04-13 14:00 <a href="http://www.cppblog.com/ourvc/archive/2012/04/13/171240.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>破解算法，最需要的就是基础知识</title><link>http://www.cppblog.com/ourvc/archive/2012/04/12/171075.html</link><dc:creator>OUR!!CPP</dc:creator><author>OUR!!CPP</author><pubDate>Thu, 12 Apr 2012 05:19:00 GMT</pubDate><guid>http://www.cppblog.com/ourvc/archive/2012/04/12/171075.html</guid><wfw:comment>http://www.cppblog.com/ourvc/comments/171075.html</wfw:comment><comments>http://www.cppblog.com/ourvc/archive/2012/04/12/171075.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/ourvc/comments/commentRss/171075.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/ourvc/services/trackbacks/171075.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 做程序员，是一种职业，更是一种兴趣和爱好，许多朋友相信都有独自解决问题时的那种成就感，如果那问题，是百度不到，或者无任何范例参考而解决的，那享受到的可谓是幸福了。<br /><div>&nbsp;&nbsp; &nbsp;&nbsp; 如果你未感受以上说的那种成功，那只能说是你还未积累足够的基础。因为要靠自己能力去解决问题，而无任何指导，那基础知识是非常重要。<br />&nbsp;&nbsp; &nbsp;&nbsp; 像BASE64、UNICODE、UTF8、GB2312概念等，我相信没一个程序员会不知道。但以下的经历，相信连百度、GOOGLE都不会搜得到任何帮助，完全就是靠这些基本理论来解决一个看似&#8220;简单&#8221;的问题。</div><div>&nbsp;&nbsp; &nbsp;&nbsp; 我的网站 www.08178.com里，在导航栏上有个 "足球比分直播"   的板块，里面是动态的实时比分直播，里面的数据来源于国外的网站。上个月该网站改版了，需要登录才可以访问，且还需要个类似KEY的东东，其实就一段字符 串，字符串由一大堆用户信息之类的，需要进行破解，方可以访问到信息。如下就是通过反编译得出的加密核心函数。本以为按语法翻译一下，就可以解密，但足足 花了我一天的时间，搞得焦头烂额，最后还是基础的积累，让我跨过了这道难关。</div><div>&nbsp;&nbsp; &nbsp;&nbsp; 破解算法时，使用到了UTF8和UNICODE的基础知识，在最容易让人忽略的字节大小问题上，栽了跟头，看似简单的问题，其实在做语言搬迁时，最容易让人无从捉摸，网上也查不到什么有价值的帮助信息。附上加密函数，给有兴趣的朋友看看。</div><br />&nbsp;&nbsp; &nbsp;&nbsp; 总之，重视让你觉得简单的知识，你不会吃亏的，朋友!<br /><br /><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private static function encode(*:String, *:int):String{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var _local3:Base64Encoder = new Base64Encoder();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _local3.encode(xor(*, *));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return (_local3.flush());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private static function xor(*:String, *:int):String{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var _local3:String = KEY10.toString();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var _local4:String = new String();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var _local5:Number = 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while (_local5 &lt; *.length) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _local4 = (_local4 + String.fromCharCode((*.charCodeAt(_local5) ^ _local3.toString().charCodeAt(((_local5 + *) % _local3.toString().length)))));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _local5++;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return (_local4);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div><img src ="http://www.cppblog.com/ourvc/aggbug/171075.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/ourvc/" target="_blank">OUR!!CPP</a> 2012-04-12 13:19 <a href="http://www.cppblog.com/ourvc/archive/2012/04/12/171075.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>关于BOOST学习的看法</title><link>http://www.cppblog.com/ourvc/archive/2012/04/11/170910.html</link><dc:creator>OUR!!CPP</dc:creator><author>OUR!!CPP</author><pubDate>Wed, 11 Apr 2012 06:30:00 GMT</pubDate><guid>http://www.cppblog.com/ourvc/archive/2012/04/11/170910.html</guid><wfw:comment>http://www.cppblog.com/ourvc/comments/170910.html</wfw:comment><comments>http://www.cppblog.com/ourvc/archive/2012/04/11/170910.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cppblog.com/ourvc/comments/commentRss/170910.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/ourvc/services/trackbacks/170910.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 关于BOOST学习的看法&nbsp;&nbsp;<a href='http://www.cppblog.com/ourvc/archive/2012/04/11/170910.html'>阅读全文</a><img src ="http://www.cppblog.com/ourvc/aggbug/170910.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/ourvc/" target="_blank">OUR!!CPP</a> 2012-04-11 14:30 <a href="http://www.cppblog.com/ourvc/archive/2012/04/11/170910.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>七年的程序员之痒。</title><link>http://www.cppblog.com/ourvc/archive/2012/04/10/170784.html</link><dc:creator>OUR!!CPP</dc:creator><author>OUR!!CPP</author><pubDate>Tue, 10 Apr 2012 08:05:00 GMT</pubDate><guid>http://www.cppblog.com/ourvc/archive/2012/04/10/170784.html</guid><wfw:comment>http://www.cppblog.com/ourvc/comments/170784.html</wfw:comment><comments>http://www.cppblog.com/ourvc/archive/2012/04/10/170784.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/ourvc/comments/commentRss/170784.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/ourvc/services/trackbacks/170784.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 七年的程序员之痒&nbsp;&nbsp;<a href='http://www.cppblog.com/ourvc/archive/2012/04/10/170784.html'>阅读全文</a><img src ="http://www.cppblog.com/ourvc/aggbug/170784.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/ourvc/" target="_blank">OUR!!CPP</a> 2012-04-10 16:05 <a href="http://www.cppblog.com/ourvc/archive/2012/04/10/170784.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>新手来给大家问好</title><link>http://www.cppblog.com/ourvc/archive/2012/04/10/OURVC.html</link><dc:creator>OUR!!CPP</dc:creator><author>OUR!!CPP</author><pubDate>Tue, 10 Apr 2012 07:10:00 GMT</pubDate><guid>http://www.cppblog.com/ourvc/archive/2012/04/10/OURVC.html</guid><wfw:comment>http://www.cppblog.com/ourvc/comments/170779.html</wfw:comment><comments>http://www.cppblog.com/ourvc/archive/2012/04/10/OURVC.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/ourvc/comments/commentRss/170779.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/ourvc/services/trackbacks/170779.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 从C++程序员到C#程序员，我走过的无数酸甜苦辣，会点点滴滴写在我的博客，希望对初学者还有程序员能有帮助。&nbsp;&nbsp;<a href='http://www.cppblog.com/ourvc/archive/2012/04/10/OURVC.html'>阅读全文</a><img src ="http://www.cppblog.com/ourvc/aggbug/170779.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/ourvc/" target="_blank">OUR!!CPP</a> 2012-04-10 15:10 <a href="http://www.cppblog.com/ourvc/archive/2012/04/10/OURVC.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>