<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/wordpress-mu-1.2.3-2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: C++Builder 2007, Compiler changes</title>
	<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314</link>
	<description>CodeGear QA Manager for RAD Studio products</description>
	<pubDate>Sat, 30 Aug 2008 13:41:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=wordpress-mu-1.2.3-2.2.1</generator>

	<item>
		<title>By: Bruneau</title>
		<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-14</link>
		<author>Bruneau</author>
		<pubDate>Tue, 10 Jul 2007 16:45:34 +0000</pubDate>
		<guid>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-14</guid>
		<description>Demeter,&lt;br&gt;&lt;br&gt;The following illustrates Variant to TDateTime conversion:&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;#include &#60;iostream&#62;&lt;br&gt;#include &#60;vcl.h&#62;&lt;br&gt;&lt;br&gt;&lt;br&gt;void showDate(const TDateTime&#38; dt) &lt;br&gt;{&lt;br&gt;   std::cout &#60;&#60; &#34;DateTime = &#34; &#60;&#60; DateTimeToStr(dt) &#60;&#60; std::endl;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;int main()&lt;br&gt;{&lt;br&gt;   TDateTime dt1 = Sysutils::Now();&lt;br&gt;   showDate(dt1);&lt;br&gt;&lt;br&gt;   Variant v1(dt1);&lt;br&gt;   &lt;br&gt;   TDateTime dt2 = v1;&lt;br&gt;   showDate(dt2);&lt;br&gt;&lt;br&gt;   TDateTime dt3;&lt;br&gt;   dt3 = Variants::VarToDateTime(v1);&lt;br&gt;   showDate(dt3);&lt;br&gt;&lt;br&gt;   return 0;&lt;br&gt;}&lt;br&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Demeter,</p>
<p>The following illustrates Variant to TDateTime conversion:</p>
<p>#include &lt;iostream&gt;<br />
<br />#include &lt;vcl.h&gt;</p>
<p>void showDate(const TDateTime&amp; dt)<br />
<br />{<br />
<br />   std::cout &lt;&lt; &quot;DateTime = &quot; &lt;&lt; DateTimeToStr(dt) &lt;&lt; std::endl;<br />
<br />}</p>
<p>int main()<br />
<br />{<br />
<br />   TDateTime dt1 = Sysutils::Now();<br />
<br />   showDate(dt1);</p>
<p>   Variant v1(dt1);</p>
<p>   TDateTime dt2 = v1;<br />
<br />   showDate(dt2);</p>
<p>   TDateTime dt3;<br />
<br />   dt3 = Variants::VarToDateTime(v1);<br />
<br />   showDate(dt3);</p>
<p>   return 0;<br />
<br />}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Demeter</title>
		<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-1</link>
		<author>Demeter</author>
		<pubDate>Tue, 10 Jul 2007 11:11:33 +0000</pubDate>
		<guid>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-1</guid>
		<description>OK. Then how to convert Variant v to TDateTime d? &lt;br&gt;</description>
		<content:encoded><![CDATA[<p>OK. Then how to convert Variant v to TDateTime d?<br />
</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Pattinson</title>
		<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-59</link>
		<author>Chris Pattinson</author>
		<pubDate>Mon, 04 Jun 2007 13:45:42 +0000</pubDate>
		<guid>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-59</guid>
		<description>Ok,  I copied the raw HTML from the README file. Formatting changes I had made are lost, but I'll take accuracy over formatting.</description>
		<content:encoded><![CDATA[<p>Ok,  I copied the raw HTML from the README file. Formatting changes I had made are lost, but I&#8217;ll take accuracy over formatting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Remy Lebeau</title>
		<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-58</link>
		<author>Remy Lebeau</author>
		<pubDate>Mon, 04 Jun 2007 13:22:37 +0000</pubDate>
		<guid>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-58</guid>
		<description>The #include and static_cast statements in this blog's examples do not appear correctly in a web browser because all of the angle brackets are not HTML-encoded.</description>
		<content:encoded><![CDATA[<p>The #include and static_cast statements in this blog&#8217;s examples do not appear correctly in a web browser because all of the angle brackets are not HTML-encoded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Hausladen</title>
		<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-7</link>
		<author>Andreas Hausladen</author>
		<pubDate>Mon, 04 Jun 2007 13:20:40 +0000</pubDate>
		<guid>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-7</guid>
		<description>@Dennis Cote: Looks more like a HTML problem. The &#60; and &#62; are interpreted as tags. If you look at the HTML source code you see the &#34;&#60;int&#62;&#34;.</description>
		<content:encoded><![CDATA[<p>@Dennis Cote: Looks more like a HTML problem. The &lt; and &gt; are interpreted as tags. If you look at the HTML source code you see the &quot;&lt;int&gt;&quot;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Cote</title>
		<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-10</link>
		<author>Dennis Cote</author>
		<pubDate>Mon, 04 Jun 2007 08:20:58 +0000</pubDate>
		<guid>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-10</guid>
		<description>You have used static_cast without specifying the casted expression type throughout this document.  AFAIK you must specify a type when using a static cast in standard C++, i.e. static_cast&#60;type&#62;(object).</description>
		<content:encoded><![CDATA[<p>You have used static_cast without specifying the casted expression type throughout this document.  AFAIK you must specify a type when using a static cast in standard C++, i.e. static_cast&lt;type&gt;(object).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Pattinson</title>
		<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-9</link>
		<author>Chris Pattinson</author>
		<pubDate>Sun, 03 Jun 2007 13:39:23 +0000</pubDate>
		<guid>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-9</guid>
		<description>Ok, well the RTL uses the Dimkumware STL - so both statements are correct. In any case, I updated to avoid confusion.</description>
		<content:encoded><![CDATA[<p>Ok, well the RTL uses the Dimkumware STL - so both statements are correct. In any case, I updated to avoid confusion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hallvard Vassbotn</title>
		<link>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-6</link>
		<author>Hallvard Vassbotn</author>
		<pubDate>Sun, 03 Jun 2007 13:07:07 +0000</pubDate>
		<guid>http://blogs.codegear.com/chrispattinson/2007/06/03/35314#comment-6</guid>
		<description>&#34; improved RTL via Dinkumware&#34;&lt;br&gt;&lt;br&gt;I think you mean STL (Standard Template Library), rather than RTL (RunTime Library)?</description>
		<content:encoded><![CDATA[<p>&quot; improved RTL via Dinkumware&quot;</p>
<p>I think you mean STL (Standard Template Library), rather than RTL (RunTime Library)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
