<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>J4vk</title>
	<atom:link href="http://j4vk.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://j4vk.wordpress.com</link>
	<description>Уютненький блог обо всём</description>
	<lastBuildDate>Mon, 26 Dec 2011 14:52:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='j4vk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>J4vk</title>
		<link>http://j4vk.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://j4vk.wordpress.com/osd.xml" title="J4vk" />
	<atom:link rel='hub' href='http://j4vk.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Ternary operators in C++ as lvalues:</title>
		<link>http://j4vk.wordpress.com/2011/12/26/ternary-operators-in-c-as-lvalues/</link>
		<comments>http://j4vk.wordpress.com/2011/12/26/ternary-operators-in-c-as-lvalues/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 14:52:23 +0000</pubDate>
		<dc:creator>andreyv</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[c++]]></category>

		<guid isPermaLink="false">http://j4vk.wordpress.com/?p=116</guid>
		<description><![CDATA[which is shorthand for: Hidden Features of C++ Tagged: c++<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=j4vk.wordpress.com&amp;blog=3729996&amp;post=116&amp;subd=j4vk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: cpp;">
(a == 0 ? a : b) = 1;
</pre><br />
which is shorthand for:<br />
<pre class="brush: cpp;">
if (a == 0)
    a = 1;
else
    b = 1;
</pre></p>
<p><a href="http://stackoverflow.com/questions/75538/hidden-features-of-c/302563#302563" title="The Source:">Hidden Features of C++</a></p>
<br /> Tagged: <a href='http://j4vk.wordpress.com/tag/c-2/'>c++</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/j4vk.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/j4vk.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/j4vk.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/j4vk.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/j4vk.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/j4vk.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/j4vk.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/j4vk.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/j4vk.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/j4vk.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/j4vk.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/j4vk.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/j4vk.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/j4vk.wordpress.com/116/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=j4vk.wordpress.com&amp;blog=3729996&amp;post=116&amp;subd=j4vk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://j4vk.wordpress.com/2011/12/26/ternary-operators-in-c-as-lvalues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">j4vk</media:title>
		</media:content>
	</item>
		<item>
		<title>Arithmetic Operands in C++</title>
		<link>http://j4vk.wordpress.com/2011/12/22/arithmetic-operands-in-c/</link>
		<comments>http://j4vk.wordpress.com/2011/12/22/arithmetic-operands-in-c/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 21:47:07 +0000</pubDate>
		<dc:creator>andreyv</dc:creator>
				<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://j4vk.wordpress.com/?p=108</guid>
		<description><![CDATA[Except for remainder (%) all other arithmetic operators can accept a mix of integer and real operands. Generally, if both operands are integers then the result will be an integer. However, if one or both of the operands are reals then the result will be a real (or double to be exact). When both operands of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=j4vk.wordpress.com&amp;blog=3729996&amp;post=108&amp;subd=j4vk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Except for remainder (%) all other arithmetic operators can accept a mix of integer and real operands. Generally, if both operands are integers then the result<br />
will be an integer. However, if one or both of the operands are reals then the result will be a real (or double to be exact).</p>
<p>When both operands of the division operator (/) are integers then the division is performed as an integer division and not the normal division we are used to.<br />
Integer division always results in an integer outcome (i.e., the result is always rounded down).</p>
<p>For example:<br />
<pre class="brush: cpp;">
9 / 2 // gives 4, not 4.5!
-9 / 2 // gives -5, not -4!
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/j4vk.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/j4vk.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/j4vk.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/j4vk.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/j4vk.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/j4vk.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/j4vk.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/j4vk.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/j4vk.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/j4vk.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/j4vk.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/j4vk.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/j4vk.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/j4vk.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=j4vk.wordpress.com&amp;blog=3729996&amp;post=108&amp;subd=j4vk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://j4vk.wordpress.com/2011/12/22/arithmetic-operands-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">j4vk</media:title>
		</media:content>
	</item>
	</channel>
</rss>
