<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6537089394819945484</id><updated>2012-02-16T09:35:58.809-08:00</updated><title type='text'>ysliu2</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ysliu2.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6537089394819945484/posts/default'/><link rel='alternate' type='text/html' href='http://ysliu2.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ysliu2</name><uri>http://www.blogger.com/profile/10491453388066243304</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6537089394819945484.post-626251107537598491</id><published>2010-05-31T07:51:00.000-07:00</published><updated>2010-05-31T07:55:38.365-07:00</updated><title type='text'>The question in Class</title><content type='html'>Q: do not use ? and if to print a[10]={o,3,5,3,5,8,9,6,5,10} which is greater than 3 in one line.&lt;br /&gt; A:&lt;br /&gt;     for(int i=0, i&lt;10, i++)&lt;br /&gt;        &lt;span style="color: rgb(255, 0, 0);"&gt;a[i] &gt;3 &amp;amp;&amp;amp; printf("%d \n", a[i]);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537089394819945484-626251107537598491?l=ysliu2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ysliu2.blogspot.com/feeds/626251107537598491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ysliu2.blogspot.com/2010/05/question-in-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6537089394819945484/posts/default/626251107537598491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6537089394819945484/posts/default/626251107537598491'/><link rel='alternate' type='text/html' href='http://ysliu2.blogspot.com/2010/05/question-in-class.html' title='The question in Class'/><author><name>ysliu2</name><uri>http://www.blogger.com/profile/10491453388066243304</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6537089394819945484.post-5026992064699697612</id><published>2010-05-31T07:39:00.000-07:00</published><updated>2010-05-31T07:51:15.592-07:00</updated><title type='text'>lazy evaluation</title><content type='html'>C++ uses short circuit evaluation, if the whole conditions's result is known, the compiler do not waste to check the rest. Like&lt;br /&gt;if(b&lt;2 &amp;amp;&amp;amp; (a=a+1)) printf("X\n"); never print, because a=a+1 never happen. So the compiler does not waste time to check the rest.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537089394819945484-5026992064699697612?l=ysliu2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ysliu2.blogspot.com/feeds/5026992064699697612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ysliu2.blogspot.com/2010/05/lazy-evaluation.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6537089394819945484/posts/default/5026992064699697612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6537089394819945484/posts/default/5026992064699697612'/><link rel='alternate' type='text/html' href='http://ysliu2.blogspot.com/2010/05/lazy-evaluation.html' title='lazy evaluation'/><author><name>ysliu2</name><uri>http://www.blogger.com/profile/10491453388066243304</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6537089394819945484.post-666113414727789664</id><published>2010-05-31T07:21:00.000-07:00</published><updated>2010-05-31T07:23:23.458-07:00</updated><title type='text'>How To Log IRC Conversations on mIRC</title><content type='html'>&lt;p&gt;To log conversations on mIRC, you need to : &lt;/p&gt; &lt;ol&gt;&lt;li&gt;Right click on the channel on the Switchbar (The bar with the  channel names on it)&lt;/li&gt;&lt;li&gt;Select &lt;b&gt;Logging&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Select &lt;b&gt;On&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;br /&gt;To view a logged conversation: &lt;/p&gt; &lt;ol&gt;&lt;li&gt;Click on &lt;b&gt;Tools&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Click on &lt;b&gt;Log Files...&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Find you log file and double click&lt;a name="Linked_List_Explained" id="Linked_List_Explained"&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537089394819945484-666113414727789664?l=ysliu2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ysliu2.blogspot.com/feeds/666113414727789664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ysliu2.blogspot.com/2010/05/how-to-log-irc-conversations-on-mirc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6537089394819945484/posts/default/666113414727789664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6537089394819945484/posts/default/666113414727789664'/><link rel='alternate' type='text/html' href='http://ysliu2.blogspot.com/2010/05/how-to-log-irc-conversations-on-mirc.html' title='How To Log IRC Conversations on mIRC'/><author><name>ysliu2</name><uri>http://www.blogger.com/profile/10491453388066243304</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
