<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/dcxj163" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/dcxj163" type="application/rss+xml"></fs:self_link><lastBuildDate>Sun, 05 Jul 2009 13:42:00 GMT</lastBuildDate><title>dcxj163的专栏</title><link>http://blog.csdn.net/dcxj163/</link><item><title>C++面试之游趣一行</title><link>http://blog.csdn.net/dcxj163/archive/2009/07/05/4322941.aspx</link><wfw:comment>http://blog.csdn.net/dcxj163/comments/4322941.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/dcxj163/comments/commentRss/4322941.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4322941</trackback:ping><description>前些天去游趣（江苏南京游趣科技有限公司）面试了，可算是往C++这方面发展的第一次出师，之前走Web开发也才出过三次（浪涛沙数码科技、江苏连邦科技，还有一个在江苏海事学院旁边的工作室忘了叫什么名字了）。题目差不多都抽网上的经典题，由于题目时上半学期只是稍微思考了一下，既没做笔记，也没敲代码进行彻底的研究。所以靠的基本是基本功了，考完还感觉蛮不错的，可一对比网上给出的答案，功底的距离就跃然纸上了。为了增加功底，吸收教训，特做一次比较：1.       分别对bool,int ,floor,指针变量与“零值”比较的if语句。（假设变量为var）if( ! var )  if( var!=0 ) if( var ==0 ) if( ! var )正解：if( ! var )  if( var!=0 )  if( (var&gt;= -0.00001) &amp;&amp;(var注：浮点型变量的计算并不精确，所以不适宜用==或!=与数字比较。2.       在Windows N&lt;img src =&quot;http://blog.csdn.net/dcxj163/aggbug/4322941.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/240923100/dcxj163/csdn.net/s.gif?r=http://blog.csdn.net/dcxj163/archive/2009/07/05/4322941.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/dcxj163/240923100/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/dcxj163/240923100/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 05 Jul 2009 21:42:00 +0800</pubDate><author>Blank</author><comments>http://blog.csdn.net/dcxj163/archive/2009/07/05/4322941.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/dcxj163/archive/2009/07/05/4322941.aspx</guid><dc:creator>Blank</dc:creator><fs:srclink>http://blog.csdn.net/dcxj163/archive/2009/07/05/4322941.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/dcxj163/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/dcxj163/~7559658/240923100/5668691</fs:itemid></item></channel></rss>