<?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/"
	>

<channel>
	<title>dee.writing &#187; C</title>
	<atom:link href="http://deewriting.com/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://deewriting.com</link>
	<description>me try to write</description>
	<lastBuildDate>Tue, 04 May 2010 09:33:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Cross Platform: Java, Python, UPP++</title>
		<link>http://deewriting.com/2006/09/cross-platform-java-python-upp/</link>
		<comments>http://deewriting.com/2006/09/cross-platform-java-python-upp/#comments</comments>
		<pubDate>Fri, 29 Sep 2006 14:15:32 +0000</pubDate>
		<dc:creator>dewa.i</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Crossplatform]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dewai.net/index.php/2006/09/29/cross-platform-java-python-upp/</guid>
		<description><![CDATA[Still about cross platform software development, after depth discussions, we decided to use Java as primary development tool either Eclipse or NetBeans (we are still figuring out which one is suit us&#8230;) And another one is Python, for prototiping and make &#8220;quickies&#8221;, tools that have &#8220;now deadlines&#8221;. We choose Java and Python because both are [...]]]></description>
			<content:encoded><![CDATA[<p>Still about cross platform software development, after depth discussions, we decided to use Java as primary development tool either <a href="http://www.eclipse.org">Eclipse</a> or <a href="http://www.netbeans.org">NetBeans</a> (we are still figuring out which one is suit us&#8230;)<br />
And another one is Python, for prototiping and make &#8220;quickies&#8221;, tools that have &#8220;now deadlines&#8221;.<br />
<span id="more-159"></span><br />
We choose Java and Python because both are cross-platform and have good communities and suit our need.</p>
<p>Meanwhile I still follow <a href="http://upp.sourceforge.net">UPP (Ultimate++)</a> development, and found version 609 dev. 3 just released.<br />
After downloading and successfully installed, I compiled my example application, and found that the directory lister did not show my USB drive. I thought I did wrongly, so I compiled CompDir from the demos package, and it also did not show the USB drives.<br />
But I don&#8217;t have time to investigate and visiting UPP&#8217;s forum.</p>
<p>Busy with Python and Java&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://deewriting.com/2006/09/cross-platform-java-python-upp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross platform RAD with Ultimate++</title>
		<link>http://deewriting.com/2006/08/cross-platform-rad-with-ultimate/</link>
		<comments>http://deewriting.com/2006/08/cross-platform-rad-with-ultimate/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 04:06:33 +0000</pubDate>
		<dc:creator>dewa.i</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Crossplatform]]></category>
		<category><![CDATA[UPP++]]></category>

		<guid isPermaLink="false">http://dewai.net/index.php/2006/08/18/cross-platform-rad-with-ultimate/</guid>
		<description><![CDATA[Introduction Ultimate++ or UPP (Ultimate Plus Plus) is a cross-platform rapid development toolkit in C++. It consists of : Cross platform GUI toolkit, a set of C++ libraries that form Ultimate++ or U++ with main libraries (or called package here) “Core” is the core of U++ “CtrlCore” is the base for all Controls (or Widgets) [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>Ultimate++ or UPP (Ultimate Plus Plus) is a cross-platform rapid development toolkit in C++. It consists of :</p>
<ul>
<li>Cross platform GUI toolkit, a set of C++ libraries that form Ultimate++ or U++ with main libraries (or called package here)
<ol>
<li>“Core” is the core of U++</li>
<li>“CtrlCore” is the base for all Controls (or Widgets)</li>
<li>“CtrlLib” is the Controls</li>
<li>other non visual packages</li>
</ol>
</li>
<p><span id="more-153"></span></p>
<li>TheIDE, as the name implied, is &#8230; the IDE !<br />
In there we will meet:</p>
<ol>
<li>Assist++ that will assist us along TheIDE, a powerful C++ code analyzer with code-completion, navigation, etc.</li>
<li>Topic++ that help us writing document while coding (so, hopefully we documenting our codings better <img src='http://deewriting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
<li>Layout Designer, so we can visually design the dialog or form.</li>
<li>Resource Editor</li>
</ol>
</li>
</ul>
<p><!--adsense--><br />
UPP environment is quite different with other tools, for example, Project in UPP is not the project as in other tools which is called Package in UPP.<br />
UPP&#8217;s license allows us to develop closed application. You can find it at <a href="http://upp.sourceforge.net/app$ide$About$en-us.html">http://upp.sourceforge.net/app$ide$About$en-us.html</a></p>
<p><strong>Installation</strong><br />
We can find distribution file at UPP&#8217;s official site which is hosted by Sourceforge at <a href="http://upp.sourceforge.net">http://upp.sourceforge.net</a><br />
We can download UPP packed with MinGW (gcc), download UPP only binary if we already have MinGW installed or want to use another compilers supported by UPP (Visual C++ 7.1, or 8.0, or free Visual C++ Toolkit 2003, or Visual C++ 2005 Express Edition)</p>
<p>Linux version also available at UPP Site, although I have not yet have chance to try it.<br />
And, also, you can download the latest public betas at UPP Sourceforge Project at <a href="http://sourceforge.net/projects/upp">http://sourceforge.net/projects/upp</a></p>
<p>I use default setting of UPP installation (just click Next until Finish&#8230;) and it set C:upp for UPP files (there&#8217;s a warning mentioning that is not safe to put our files inside the folder), and MyApps for all projects that we will created.</p>
<p><strong>Try Out</strong><br />
Now we try out our just installed UPP.<br />
Launch UPP, and we will have the Opening Dialog:<br />
<img src="http://dewai.net/pix/OpeningDialog.jpg" alt="Opening Dialog" /></p>
<p>As an appetizer, let&#8217;s just open a package from examples folder: Click “example” at the left box, click “Days” package, and click [OK].</p>
<p>You will find that UPP is optimized for coding: screen estate is efficient, only menu-bar and toolbar and I even make them in one row (Setup | Environment | IDE, check Menu and toolbar in a row)<br />
<img src="http://dewai.net/pix/TheIDEJustOpenedNum.jpg" alt="The IDE" /></p>
<p>On the top, menubar (1), and toolbar (2) set to be in one row with menubar.<br />
Packages used are listed in the top-left box (3), if you click a package, file contained will be listed in left-box (4) below package listbox, and the biggest area is the editor.<br />
On the file list, there&#8217;s a file with .lay extension (Days.lay) this is a layout file, if we click it the Layout editor will be shown replacing the Text editor (6)<br />
It&#8217;s better to try it yourself <img src='http://deewriting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Running an example</strong><br />
Before we running Days application, we need to setup our compiler.<br />
<img src="http://dewai.net/pix/TheIDECompilerCombo.jpg" alt="Compiler set" /><br />
<!--adsense--><br />
I use MinGW compiler, and set optimization to Size (left drop-down button to select Compiler, right drop-down to select optimization).<br />
Worth to note is that UPP employed BLITZ-build technology to speedup C++ rebuild, but for the first built will need quite some times. In my system AMD Athlon 1.8/512MB it took good 10 minutes, but later on it is fast: only need time to compile our package and link. But if we change the optimization, for example to Speed and it has never been build before, you have to give some times for BLITZ to prepare the libraries.<br />
All files are placed inside a folder named Compiler.Optimization.AppType, under Out folder, for example with default installation and compiler setting: MinGW optimized to Size:</p>
<ul>
<li>Core package will be in: c:uppoutCoreMINGW.Force_size.Gui</li>
<li>CtrlCore package will be in: c:uppoutCtrlCoreMINGW.Force_size.Gui</li>
<li>Our Days package (or project), will be in: c:uppoutDaysMINGW.Force_size.Gui.Main</li>
<li>and all executables will be in c:uppoutMINGW.Force_size.Gui, so our Days.exe will be in that folder after compilation and linking.</li>
</ul>
<p>Now we build Days application,<br />
<img src="http://dewai.net/pix/DebugMenuBefore.jpg" alt="Debug menu" /></p>
<p>by pressing F5 key, or choose from Debug menu.<br />
Build process is shown in Console box below the Editor, Build log below is shown after BLITZ process, and it is fast, as mentioned above, time needed only for compilation and linking.<br />
<img src="http://dewai.net/pix/LogCompilation.jpg" alt="Compilation Log" /></p>
<p>And, here is our Days application, calculate days between two given dates:<br />
<img src="http://dewai.net/pix/Days.jpg" alt="Days app" /></p>
<p>To open another package (remember, in UPP it is called package while in other tools it is called project or solution), you can select it from “File | Set main package” and you will have that Opening Dialog.</p>
<p>Next time we will create a simple application ourselves <img src='http://deewriting.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://deewriting.com/2006/08/cross-platform-rad-with-ultimate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
