<?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-2804280462096198771</id><updated>2011-07-07T21:08:46.314-07:00</updated><category term='OOP'/><category term='C#'/><category term='Info'/><category term='PHP Programming'/><category term='C Programming'/><category term='VB'/><category term='Java Programming'/><category term='Java Script'/><category term='C++ Code'/><title type='text'>PROGRAMMERZ</title><subtitle type='html'>This blog contents about IT informations and tutorial Programming for beginner and intermediate.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-755820475997725210</id><published>2009-09-26T06:58:00.000-07:00</published><updated>2009-09-26T07:23:22.853-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB'/><title type='text'>Encryption - Decryption program with VB</title><content type='html'>Encryption is the process of transforming information (referred to as plaintext) using an algorithm (called cipher) to make it unreadable to anyone except those possessing special knowledge, usually referred to as a key.&lt;br /&gt;The result of the process is encrypted information (in cryptography, referred to as ciphertext).&lt;br /&gt;In here, we would shown sample program with application that displayed like the following:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_6cLQjgAuLyI/Sr4haAvefWI/AAAAAAAAAA4/myh5rnMf8-Y/s1600-h/enkripsi.bmp"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 318px; height: 256px;" src="http://3.bp.blogspot.com/_6cLQjgAuLyI/Sr4haAvefWI/AAAAAAAAAA4/myh5rnMf8-Y/s320/enkripsi.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5385778935141137762" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This program will be encrypted all words are input by user at textboxt &lt;span style="font-weight:bold;"&gt;text &lt;/span&gt;label. Then the output will be display at textboxt with label &lt;span style="font-weight:bold;"&gt;Hasil enkripsi&lt;/span&gt; and vice versa. The output of decryption will be display at textbox &lt;span style="font-weight:bold;"&gt;Hasil Deskripsi &lt;/span&gt;label.&lt;br /&gt;&lt;br /&gt;The following is sample of main code:&lt;br /&gt;&lt;br /&gt;Private Sub cmd_enkrip_Click()&lt;br /&gt;Dim Enkrip, Output, Inputan As String&lt;br /&gt;Dim Panjang_Input As Integer&lt;br /&gt;Inputan = Text1.Text&lt;br /&gt;Panjang_Input = Len(Text1.Text)&lt;br /&gt;For i = 1 To Panjang_Input&lt;br /&gt;Enkrip = Mid(Inputan, i, 1)&lt;br /&gt;Enkrip = Asc(Enkrip)&lt;br /&gt;Enkrip = (Enkrip + 5) - 13&lt;br /&gt;Enkrip = Chr(Enkrip)&lt;br /&gt;Output = Output &amp; Enkrip&lt;br /&gt;Next i&lt;br /&gt;Text2.Text = Output&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub cmd_dekrip_Click()&lt;br /&gt;Dim Dekrip, Output, Inputan As String&lt;br /&gt;Dim Panjang_Input, Pesan As Integer&lt;br /&gt;Inputan = Text3.Text&lt;br /&gt;Panjang_Input = Len(Text3.Text)&lt;br /&gt;For i = 1 To Panjang_Input&lt;br /&gt;Dekrip = Mid(Inputan, i, 1)&lt;br /&gt;Dekrip = Asc(Dekrip)&lt;br /&gt;Dekrip = (Dekrip - 5) + 13&lt;br /&gt;Dekrip = Chr(Dekrip)&lt;br /&gt;Output = Output &amp; Dekrip&lt;br /&gt;Next i&lt;br /&gt;Text4.Text = Output&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub cmd_hapus_Click()&lt;br /&gt;Text1.Text = ""&lt;br /&gt;Text2.Text = ""&lt;br /&gt;Text3.Text = ""&lt;br /&gt;Text4.Text = ""&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command3_Click()&lt;br /&gt;End&lt;br /&gt;End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-755820475997725210?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/755820475997725210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/09/encryption-decryption-program-with-vb.html#comment-form' title='35 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/755820475997725210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/755820475997725210'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/09/encryption-decryption-program-with-vb.html' title='Encryption - Decryption program with VB'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_6cLQjgAuLyI/Sr4haAvefWI/AAAAAAAAAA4/myh5rnMf8-Y/s72-c/enkripsi.bmp' height='72' width='72'/><thr:total>35</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-4191621029578006042</id><published>2009-06-30T05:14:00.000-07:00</published><updated>2009-06-30T05:17:04.640-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Tutorial For Beginner (IV) --&gt; The Last</title><content type='html'>You will need a C compiler, I advise gcc for windows called MinGW, it's free, it's good, it's GCC!&lt;br /&gt;We will create 3 file:&lt;br /&gt;echo.c&lt;br /&gt;&lt;br /&gt;    #include &lt;stdio.h&gt;&lt;br /&gt;    &lt;br /&gt;    #define DLLOBJECT __declspec(dllexport)&lt;br /&gt;    &lt;br /&gt;    DLLOBJECT void writeln(char* s)&lt;br /&gt;    {&lt;br /&gt;        printf("%s\n", s);&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;echo.cs&lt;br /&gt;&lt;br /&gt;    using System;&lt;br /&gt;    using System.Runtime.InteropServices;&lt;br /&gt;    &lt;br /&gt;    namespace HelloUtil&lt;br /&gt;    {&lt;br /&gt;        public class Echo&lt;br /&gt;        {&lt;br /&gt;            [DllImport("echo.native.dll", CallingConvention=CallingConvention.Cdecl)]&lt;br /&gt;            static extern void writeln(string s);&lt;br /&gt;            &lt;br /&gt;            string myString;&lt;br /&gt;            &lt;br /&gt;            public Echo(string aString)&lt;br /&gt;            {&lt;br /&gt;                myString = aString;&lt;br /&gt;            }&lt;br /&gt;            &lt;br /&gt;            public void Tell()&lt;br /&gt;            {&lt;br /&gt;                writeln(myString);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;hello.cs&lt;br /&gt;&lt;br /&gt;    using System;&lt;br /&gt;    using HelloUtil;&lt;br /&gt;    &lt;br /&gt;    public class Hello&lt;br /&gt;    {&lt;br /&gt;     public static void Main()&lt;br /&gt;     {&lt;br /&gt;      Echo h = new Echo("Hello my 1st interop code !");&lt;br /&gt;      h.Tell();&lt;br /&gt;     }&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;Hehe, here you discover a completly new thing, Attribute.&lt;br /&gt;"[DllImport(.." is an attribute.&lt;br /&gt;You could tag any method/field/class with any number of attribute.&lt;br /&gt;They generate extra information that could be used by anyone who could understand them.&lt;br /&gt;This DllImport attribute is understand by the compiler and told him that the function below is in fact in a DLL whose name is "echo.native.dll". I add a calling convention parameter as the default .NET calling convention is __stdcall whereas, in C, it's __cdecl.&lt;br /&gt;By the way, if you look for DllImport in the documentation, look for DllImportAttribute, because you remove "Attribute" to attribute classname when using them, it's like this.&lt;br /&gt;&lt;br /&gt;And now let's compile this!&lt;br /&gt;&lt;br /&gt;    &gt; csc /nologo /t:library /out:echo.dll echo.cs&lt;br /&gt;    &gt; csc /nologo /out:hello.exe /r:echo.dll hello.cs &lt;br /&gt;    &gt; &lt;br /&gt;    &gt; rem "if the following line don't work, read bellow.."&lt;br /&gt;    &gt; gcc -shared -o echo.native.dll echo.c&lt;br /&gt;    &gt; strip echo.native.dll&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;the 2 last line (the gcc &amp; strip command) are for building the "C-DLL".&lt;br /&gt;If they don't work maybe gcc is not in a directory listed in your path environment variable ? check with:&lt;br /&gt;  %lt; echo %PATH%&lt;br /&gt;Well it's probably not,anyway, so type, assumin mingc is in C:\MinGW:&lt;br /&gt;  set PATH=C:\MinGW;%PATH%&lt;br /&gt;And try again... you sure it's not a syntax error ?&lt;br /&gt;If it compile test it now: hello&lt;br /&gt;Great isn't it ?&lt;br /&gt;&lt;br /&gt;Now I should admit I didn't tell you all the truth. echo.dll and echo.native.dll are not the same kind of DLL. It's not just the language (C / C#) the C one is a plain executable full of, probably, x86 instruction, whereas the C# one is what MS call a portable executable.. anyway they are different.&lt;br /&gt;If you install echo.dll in the GAC it wont work because it won't find echo.native.dll except if you put in into the PATH (like C:\Windows\System32).&lt;br /&gt;In the same manner when you add the reference in VS.NET echo.native.dll is overlooked and your program won't work....&lt;br /&gt;So either put the native one in your path or copy it in the debug/release directory of VS.NET.&lt;br /&gt;Or do everything by hand (makefile? build.bat?) and put all your dll in you build directory, and everything work fine..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-4191621029578006042?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/4191621029578006042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-tutorial-for-beginner-iv-last.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/4191621029578006042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/4191621029578006042'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-tutorial-for-beginner-iv-last.html' title='C# Tutorial For Beginner (IV) --&gt; The Last'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-2219090014171540520</id><published>2009-06-26T06:33:00.000-07:00</published><updated>2009-06-26T06:42:26.494-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Tutorial For Beginners (Part III)</title><content type='html'>Now you become to be pretty confident, I guess, so we could start using multiple file, and even a dll ? go into an other directory (or stay in this one, I won't mind) and create 2 file:&lt;br /&gt;&lt;br /&gt;hello.cs&lt;br /&gt;&lt;br /&gt;    using System;&lt;br /&gt;    &lt;br /&gt;    public class Hello&lt;br /&gt;    {&lt;br /&gt;     public static void Main()&lt;br /&gt;     {&lt;br /&gt;         HelloUtil.Echo h = new HelloUtil.Echo("Hello my 1st C# object !");&lt;br /&gt;            h.Tell();&lt;br /&gt;     }&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;echo.cs&lt;br /&gt;&lt;br /&gt;    using System;&lt;br /&gt;    &lt;br /&gt;    namespace HelloUtil&lt;br /&gt;    {&lt;br /&gt;        public class Echo&lt;br /&gt;        {&lt;br /&gt;            string myString;&lt;br /&gt;            &lt;br /&gt;            public Echo(string aString)&lt;br /&gt;            {&lt;br /&gt;                myString = aString;&lt;br /&gt;            }&lt;br /&gt;            &lt;br /&gt;            public void Tell()&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine(myString);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;Note in hello.cs I have used the syntax "HelloUtil.Echo" it's because Echo is in the namespace HelloUtil, you could have typed (at he start of the file) using HelloUtil and avoid HelloUtil., that's the way namespace work.&lt;br /&gt;&lt;br /&gt;Now you could compile both in one .exe with&lt;br /&gt;  &gt; csc /nologo /out:hello.exe *.cs&lt;br /&gt;But it's not my intention, no.&lt;br /&gt;Well.&lt;br /&gt;(Have you tried?)&lt;br /&gt;Let's go building a DLL:&lt;br /&gt;  &gt; csc /nologo /t:library /out:echo.dll echo.cs&lt;br /&gt;that's it (dir will confirm).&lt;br /&gt;Now we could use it ...&lt;br /&gt;  &gt; csc /out:hello.exe /r:echo.dll hello.cs&lt;br /&gt;if you typed "hello" it will worked as usual..., but if you delete "echo.dll" the program will now crash: it use the DLL. You could also change Echo.cs, rebuild the DLL and see... that's the advantage of DLL!&lt;br /&gt;&lt;br /&gt;You could also put your DLL in the global assembly cache (GAC), and any program would be able to access it, even if the DLL is not in its directory!&lt;br /&gt;to put it in the GAC, I sugest you read MS doc but here are the unexplained step:&lt;br /&gt;&lt;br /&gt;   1. create your assembly key, create it once and use it for every version. you create it with:&lt;br /&gt;        sn -k myKeyName.snk&lt;br /&gt;      the .snk file should be in your compilation directory (the one where your run csc)&lt;br /&gt;   2. create a strong asssembly title by adding in any .cs source file the following directive at top level:&lt;br /&gt;&lt;br /&gt;          using System.Reflection; &lt;br /&gt;          using System.Runtime.CompilerServices;&lt;br /&gt;          [assembly: AssemblyTitle("My Lib Title")]&lt;br /&gt;          [assembly: AssemblyVersion("1.2.3.4")]&lt;br /&gt;          [assembly: AssemblyKeyFile("myKeyName.snk")]&lt;br /&gt;          &lt;br /&gt;&lt;br /&gt;   3. now add it to the GAC:&lt;br /&gt;        &gt; gacutil.exe /if myLib.dll &lt;br /&gt;&lt;br /&gt;By the way, did I tell you ? when I referenced the hello.dll while compiling, remember? csc /out:hello.exe /r:echo.dll hello.cs, it could have been any assembly, even a .exe !!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-2219090014171540520?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/2219090014171540520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-tutorial-for-beginners-part-iii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2219090014171540520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2219090014171540520'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-tutorial-for-beginners-part-iii.html' title='C# Tutorial For Beginners (Part III)'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-3393444626520516703</id><published>2009-06-23T04:29:00.000-07:00</published><updated>2009-06-23T04:31:45.267-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Tutorial For Beginners (Part II)</title><content type='html'>Congratulation you've done the most difficult, let increase the difficulty. and create an object instance. in the DOS shell create a new directory:&lt;br /&gt;&lt;br /&gt;    &gt; md ..\learncs2&lt;br /&gt;    &gt; cd ..\learncs2&lt;br /&gt;    &gt; notepad hello.cs&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;and then type, in the notepad&lt;br /&gt;&lt;br /&gt;    using System;&lt;br /&gt;  &lt;br /&gt;    public class Echo&lt;br /&gt;    {&lt;br /&gt;        string myString;&lt;br /&gt;        &lt;br /&gt;        public Echo(string aString)&lt;br /&gt;        {&lt;br /&gt;            myString = aString;&lt;br /&gt;        }&lt;br /&gt;       &lt;br /&gt;        public void Tell()&lt;br /&gt;        {&lt;br /&gt;            Console.WriteLine(myString);&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;        &lt;br /&gt;    public class Hello&lt;br /&gt;    {&lt;br /&gt;     public static void Main()&lt;br /&gt;     {&lt;br /&gt;            Echo h = new Echo("Hello my 1st C# object !");&lt;br /&gt;            h.Tell();&lt;br /&gt;     }&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;Wouah, 25 lines! That's a program! Save it, compile it, run it...&lt;br /&gt;What happened? csc look for a Main() function in your program, it should find one (and only one) and it will be the entry point of your program.&lt;br /&gt;In this tutorial we create 2 classes: Echo &amp; Hello. In the Main() method you create an Echo object (an instance of the Echo class) with the keyword new&lt;br /&gt;Then we called the instance method "Tell()".&lt;br /&gt;the upper case letter on class or Method is just a MS convention, do as it pleased you.&lt;br /&gt;public is a visibility access, method wich are not public could not be seen from outside, there is also other visibility keywords, to learn more, clic on Start menu-&gt; Programs -&gt; Microsoft .NET Framework SDK -&gt; Documentation there is a search window, an index window, etc... try to learn more about public private protected.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-3393444626520516703?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/3393444626520516703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-tutorial-for-beginners-part-ii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/3393444626520516703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/3393444626520516703'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-tutorial-for-beginners-part-ii.html' title='C# Tutorial For Beginners (Part II)'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-8060486444373374451</id><published>2009-06-22T09:36:00.000-07:00</published><updated>2009-06-22T09:43:24.535-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# Tutorial For Beginners (Part I)</title><content type='html'>So you just install .NET framework and want to start using C# but you don't know where to start ? well...&lt;br /&gt;&lt;br /&gt;First you could download this complete tutorial here. There is a directory for each tutorial with a build.bat to build the tutorial and a run.bat to run the program. And every example is already compiled, just in case... &lt;br /&gt;&lt;br /&gt;You should first open a DOS command shell. (If you don't know what it is, clic on the Start menu then run (at the bottom) and type, in the text field: "cmd".&lt;br /&gt;exercise: there is an easiest way to do that, try to find it.)&lt;br /&gt;You should begin to work in an empty directory for this. let call it "C:\learncs". Type in the shell:&lt;br /&gt;&lt;br /&gt;    &gt; md C:\learncs&lt;br /&gt;    &gt; cd C:\learncs&lt;br /&gt;    &gt; C:&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;Now you should create your first C# program, type "notepad hello.cs" and type (in the notepad)&lt;br /&gt;&lt;br /&gt;    using System;&lt;br /&gt;  &lt;br /&gt;    public class Hello&lt;br /&gt;    {&lt;br /&gt;        public static void Main()&lt;br /&gt;        {&lt;br /&gt;            Console.WriteLine("Hello C# World :-)");&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;the using keyword just let you write Console at line 7, instead of System.Console. It's very usefull shortcut when you use a lot of "class" define in System.&lt;br /&gt;Save the file.&lt;br /&gt;Now you could compile. Type in the DOS Shell again and type:&lt;br /&gt;  csc /nologo /out:hello.exe hello.cs&lt;br /&gt;You probaly have some errors, correct them, compile again, and now you have a working hello.exe program... type hello, see...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-8060486444373374451?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/8060486444373374451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-tutorial-for-beginners-part-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/8060486444373374451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/8060486444373374451'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-tutorial-for-beginners-part-i.html' title='C# Tutorial For Beginners (Part I)'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-3731083842887991109</id><published>2009-06-14T22:41:00.000-07:00</published><updated>2009-06-14T22:54:25.806-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Info'/><title type='text'>Free ebook Microsoft Visual studio 2008</title><content type='html'>&lt;a href="http://csna01.libredigital.com/?urrs4gt63d"&gt;DOWNLOAD EBOOK NOW &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Microsoft press give free ebook with name title: Microsoft Visual C# 2008 Express Edition: Build a Program Now!”.&lt;br /&gt;This ebook has covered in .pdf format. This ebook written by Patrice Pelland  (ISBN: 9780735625426.&lt;br /&gt;The topics in this ebook that are:&lt;br /&gt;    * Introducing Microsoft Visual C# 2008 Express Edition&lt;br /&gt;    * Installation Visual C# Express Edition&lt;br /&gt;    * Creating Your First Applications&lt;br /&gt;    * Creating Your Own Web Browser in Less Than Five Minutes&lt;br /&gt;    * Using Rapid Application Development Tools with Visual C# 2008&lt;br /&gt;    * Modifying Your Web Browser&lt;br /&gt;    * Fixing the Broken Blocks&lt;br /&gt;    * Managing the Data&lt;br /&gt;    * Building Your Own Weather Tracker Application&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-3731083842887991109?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/3731083842887991109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/free-ebook-microsoft-visual-studio-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/3731083842887991109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/3731083842887991109'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/free-ebook-microsoft-visual-studio-2008.html' title='Free ebook Microsoft Visual studio 2008'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-5776448077154460906</id><published>2009-06-14T21:54:00.000-07:00</published><updated>2009-06-14T22:00:39.546-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ Code'/><title type='text'>C++ Round Program</title><content type='html'>#include&lt;stdio.h&gt;&lt;br /&gt;&lt;br /&gt;#include&lt;conio.h&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;void main() {&lt;br /&gt;&lt;br /&gt;int r;&lt;br /&gt;&lt;br /&gt;float Luas,phi=3.14;&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;printf("masukan Jari-jari : ");&lt;br /&gt;&lt;br /&gt;scanf("%i",&amp;r);&lt;br /&gt;&lt;br /&gt;Luas=phi*r*r;&lt;br /&gt;&lt;br /&gt;printf("Luas Lingkaran Adalah %2.f",&amp;Luas);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;getch();&lt;br /&gt;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-5776448077154460906?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/5776448077154460906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-round-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/5776448077154460906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/5776448077154460906'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-round-program.html' title='C++ Round Program'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-4253159040728503928</id><published>2009-06-14T11:50:00.000-07:00</published><updated>2009-06-14T11:52:58.216-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Introducing Java Script</title><content type='html'>* JavaScript was designed to add interactivity to HTML pages&lt;br /&gt;    * JavaScript is a scripting language&lt;br /&gt;    * A scripting language is a lightweight programming language&lt;br /&gt;    * JavaScript is usually embedded directly into HTML pages&lt;br /&gt;    * JavaScript is an interpreted language (means that scripts execute without preliminary compilation)&lt;br /&gt;    * Everyone can use JavaScript without purchasing a license&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Are Java and JavaScript the same?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NO!&lt;br /&gt;&lt;br /&gt;Java and JavaScript are two completely different languages in both concept and design!&lt;br /&gt;&lt;br /&gt;Java (developed by Sun Microsystems) is a powerful and much more complex programming language - in the same category as C and C++.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-4253159040728503928?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/4253159040728503928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/java-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/4253159040728503928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/4253159040728503928'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/java-script.html' title='Introducing Java Script'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-2206828833801899983</id><published>2009-06-14T11:07:00.000-07:00</published><updated>2009-06-14T11:13:00.973-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Programming'/><title type='text'>J2SE</title><content type='html'>&lt;div style="text-align: justify;"&gt;he Java 2 Platform has various incarnations as well, including Java 2 Platform, Standard Edition (&lt;span class="yellowFade"&gt;&lt;span&gt;&lt;span style="position: relative;" class="yellowFadeInnerSpan"&gt;J2SE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;). &lt;span class="yellowFade"&gt;&lt;span&gt;&lt;span style="position: relative;" class="yellowFadeInnerSpan"&gt;J2SE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is used primarily for writing applets and other Java-based applications.One of the primary uses of &lt;span class="yellowFade"&gt;&lt;span&gt;&lt;span style="position: relative;" class="yellowFadeInnerSpan"&gt;J2SE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is the development of Java applications for individual computers. Web-based activity sometimes lives and dies by the successful integration of applets into e-&lt;a href="http://www.wisegeek.com/what-is-commerce.htm"&gt;commerce&lt;/a&gt; and other Web-specific functions. &lt;span class="yellowFade"&gt;&lt;span&gt;&lt;span style="position: relative;" class="yellowFadeInnerSpan"&gt;J2SE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; applets and other applications make these functions run smoothly; without them, many transactions and other Internet interactions would not take place. In this way, &lt;span class="yellowFade"&gt;&lt;span&gt;&lt;span style="position: relative;" class="yellowFadeInnerSpan"&gt;J2SE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is a tremendous &lt;a href="http://www.wisegeek.com/what-is-an-enabler.htm"&gt;enabler&lt;/a&gt; of Web activity.&lt;br /&gt;Another important functionality made possible by &lt;span class="yellowFade"&gt;&lt;span&gt;&lt;span style="position: relative;" class="yellowFadeInnerSpan"&gt;J2SE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is JavaBeans. These are reusable applications that can be developed and assembled easily in order to create more sophisticated applications. Basically, they are the building blocks of personalized &lt;span class="yellowFade"&gt;&lt;span&gt;&lt;span style="position: relative;" class="yellowFadeInnerSpan"&gt;J2SE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; applications. Java may be the base technology, but JavaBeans are what makes &lt;span class="yellowFade"&gt;&lt;span&gt;&lt;span style="position: relative;" class="yellowFadeInnerSpan"&gt;J2SE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; functionality and individuality really click.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-2206828833801899983?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/2206828833801899983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/j2se.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2206828833801899983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2206828833801899983'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/j2se.html' title='J2SE'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-5984172055761583066</id><published>2009-06-11T19:30:00.000-07:00</published><updated>2009-06-13T18:37:57.042-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP Programming'/><title type='text'>PHP Installation</title><content type='html'>&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;If your server supports PHP you don't need to do anything.Just create some .php files in your web directory, and the server will parse  them for you. Because it is free, most web hosts offer PHP support.However, if your server does not support PHP, you must install PHP.Here is a link to a good tutorial from PHP.net on how to install PHP5: &lt;a href="http://www.php.net/manual/en/install.php" target="_blank"&gt;http://www.php.net/manual/en/install.php&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;span style="font-size:85%;"&gt;Download PHP for free here: &lt;a href="http://www.php.net/downloads.php" target="_blank"&gt;http://www.php.net/downloads.php&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size:85%;"&gt;Download MySQL for free here: &lt;a href="http://www.mysql.com/downloads/index.html" target="_blank"&gt;http://www.mysql.com/downloads/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download Apache for free here: &lt;a href="http://httpd.apache.org/download.cgi" target="_blank"&gt;http://httpd.apache.org/download.cgi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note: If you want simple installation for use PHP, you just need install WAMP or XAMPP Application.&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/2804280462096198771-5984172055761583066?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/5984172055761583066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/php-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/5984172055761583066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/5984172055761583066'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/php-installation.html' title='PHP Installation'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-4191383955491202185</id><published>2009-06-08T09:26:00.000-07:00</published><updated>2009-06-13T18:30:07.828-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP Programming'/><title type='text'>Do you know about PHP?</title><content type='html'>&lt;ul style="text-align: justify;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP stands for &lt;b&gt;P&lt;/b&gt;HP: &lt;b&gt;H&lt;/b&gt;ypertext &lt;b&gt;P&lt;/b&gt;reprocessor  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP is a server-side scripting language, like ASP  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP scripts are executed on the server  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid,  PostgreSQL, Generic ODBC, etc.)  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP is an open source software  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP is free to download and use&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP files can contain text, HTML tags and scripts  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP files are returned to the browser as plain HTML   &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP files have a file extension of ".php", ".php3", or ".phtml" &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP runs on different platforms (Windows, Linux, Unix, etc.)  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP is compatible with almost all servers used today (Apache, IIS, etc.)  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP is FREE to download from the official PHP resource: &lt;a href="http://www.php.net/" target="_blank"&gt;www.php.net&lt;/a&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP is easy to learn and runs efficiently on the server side &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;PHP combined with MySQL are cross-platform (you can develop in Windows and serve  on a Unix platform) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;MySQL is a database server  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;MySQL is ideal for both small and large applications  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;MySQL supports standard SQL  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;MySQL compiles on a number of platforms  &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;MySQL is free to download and use&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-4191383955491202185?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/4191383955491202185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/do-you-know-about-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/4191383955491202185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/4191383955491202185'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/do-you-know-about-php.html' title='Do you know about PHP?'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-1348873324879343627</id><published>2009-06-07T13:18:00.000-07:00</published><updated>2009-06-13T18:24:28.629-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Programming'/><title type='text'>Installing Java on Windows</title><content type='html'>&lt;div style="display: block; margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;a href="http://lh5.ggpht.com/_ofnZnO0EGzU/Saf2HPKdCLI/AAAAAAAABGk/I3UMO47Nzqk/s400/java_technology.png" imageanchor="1"&gt;&lt;img style="width: 356px; height: 235px;" src="http://lh5.ggpht.com/_ofnZnO0EGzU/Saf2HPKdCLI/AAAAAAAABGk/I3UMO47Nzqk/s400/java_technology.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Install&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:0;"&gt;Download Java Development Kit (JDK).&lt;/span&gt; &lt;a href="http://java.sun.com/javase/downloads/index.jsp" rel="nofollow"&gt;http://java.sun.com/javase/downloads/index.jsp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configure&lt;/span&gt;&lt;br /&gt;Set environment variable, %PATH%.&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; width: 263px; height: 274px;" alt="" src="http://bp3.blogger.com/_70EBJQI_itA/R87jzswpgQI/AAAAAAAAAG4/velWQgU8ZsA/s400/mycomputer_properties.jpg" border="0" /&gt;&lt;br /&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; width: 324px; height: 400px;" alt="" src="http://bp3.blogger.com/_70EBJQI_itA/R87kLswpgRI/AAAAAAAAAHA/-bciA5sllRc/s400/environment_variables.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp3.blogger.com/_70EBJQI_itA/R87jGswpgPI/AAAAAAAAAGw/E7mgfF0fhsE/s1600-h/system_properties.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://bp3.blogger.com/_70EBJQI_itA/R87jGswpgPI/AAAAAAAAAGw/E7mgfF0fhsE/s400/system_properties.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://bp0.blogger.com/_70EBJQI_itA/R87lD8wpgSI/AAAAAAAAAHI/ZV4e2rEBCjI/s400/set_env_path.jpg" border="0" /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Verify&lt;/span&gt;&lt;br /&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://bp1.blogger.com/_70EBJQI_itA/R87lzMwpgTI/AAAAAAAAAHQ/6bjZW9NJF1o/s400/cli1.jpg" border="0" /&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://bp1.blogger.com/_70EBJQI_itA/R87mWMwpgUI/AAAAAAAAAHY/V4cZjrpyTaM/s400/cli2.jpg" border="0" /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Finish&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-1348873324879343627?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/1348873324879343627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/installing-java-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/1348873324879343627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/1348873324879343627'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/installing-java-on-windows.html' title='Installing Java on Windows'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_ofnZnO0EGzU/Saf2HPKdCLI/AAAAAAAABGk/I3UMO47Nzqk/s72-c/java_technology.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-2319151745150490929</id><published>2009-06-05T21:11:00.000-07:00</published><updated>2009-06-13T18:14:45.869-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Programming'/><title type='text'>Simple Java Program</title><content type='html'>&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;Here is an example Java program. It is about as small as a Java program can  be. When it runs, it writes &lt;tt&gt;Hello World!&lt;/tt&gt; on the computer monitor. The  details will be explained later. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre class="program"&gt;&lt;span style="font-size:85%;"&gt;class Hello&lt;br /&gt;{&lt;br /&gt;public static void main ( String[] args )&lt;br /&gt;{&lt;br /&gt;  System.out.println("Hello World!");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="source program"&gt;&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;This program can be created using a text editor such as the Notepad editor  that comes with Windows. (Details later.) This source program is a text file  saved on a hard disk. The file is named &lt;tt&gt;Hello.java&lt;/tt&gt;. &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;A &lt;b&gt;source program&lt;/b&gt; is a text file that contains a program (such as  above) written in a programming language. Since it contains ordinary text  (stored as bytes) it can not be directly executed (run) by the computer system.  As a text file, you can print it, display it on the monitor, or alter it with a  text editor. &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-2319151745150490929?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/2319151745150490929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/simple-java-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2319151745150490929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2319151745150490929'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/simple-java-program.html' title='Simple Java Program'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-4685128046992521550</id><published>2009-06-05T20:07:00.000-07:00</published><updated>2009-06-13T18:10:50.576-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Programming'/><title type='text'>Introduction Java</title><content type='html'>&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;The Java™ language, and the ever-growing Java platform, have revolutionized  programming. The goal of this tutorial is to introduce you to the Java syntax  you're most likely to encounter professionally, and to expose you to idioms that  will help you avoid trouble. Follow along with Java professional Roy Miller as  he guides you through the essentials Java programming, including the OOP  paradigm and how it applies to Java programming, Java language syntax and use,  creating objects and adding behavior, working with collections, handling errors,  and tips for writing better code.&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="version"&gt; &lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="version"&gt;&lt;b&gt;Multiple editions of the Java platform&lt;/b&gt;&lt;br /&gt;Three editions of the Java  platform make it easier for software developers, service providers, and device  manufacturers to target specific markets:&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="version"&gt;&lt;b&gt;Java SE (Java Platform, Standard Edition)&lt;/b&gt;. Java SE lets you develop  and deploy Java applications on desktops and servers, as well as embedded and  real-time environments. Java SE includes classes that support the development of  Java Web services and provides the foundation for Java Platform, Enterprise  Edition (Java EE). Java SE 6 ("Mustang") is the current version of the Java SE  platform. Many Java developers use Java SE 5, also known as Java 5.0 or "Tiger."   &lt;/a&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="version"&gt;The &lt;/a&gt;&lt;a href="http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=taming+tiger:" cmimpressionsent="1"&gt;&lt;i&gt;Taming Tiger&lt;/i&gt;&lt;/a&gt; columns provide an excellent  overview of Java SE 5. Many existing Java applications are based on Java SE 5,  and most of the concepts in this series are relevant to Java SE 6  programming.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;"&lt;a href="http://www.ibm.com/developerworks/java/library/j-java6perfmon/" cmimpressionsent="1"&gt;Monitor and diagnose performance in Java SE 6&lt;/a&gt;"  describes performance and monitoring enhancements in Java SE 6.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;"&lt;a href="http://www.ibm.com/developerworks/java/library/j-javafx/index.html" cmimpressionsent="1"&gt;Create rich applications with JavaFX Script&lt;/a&gt;" introduces  a scripting language that runs on top of Java SE 6 and makes it easy to code  sophisticated user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The two-part article "&lt;a href="http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=invoke+dynamic+languages" cmimpressionsent="1"&gt;Invoke dynamic language dynamically&lt;/a&gt;" introduces a Java  SE 6 API that enables Java code to execute dynamic scripting code, and vice  versa. (See &lt;a href="http://www.blogger.com/post-edit.g?blogID=2804280462096198771&amp;amp;postID=4685128046992521550#6" cmimpressionsent="1"&gt;How does Java technology relate to  dynamic languages and functional programming?&lt;/a&gt;&lt;/span&gt; below, for more information on  using scripting languages with the Java platform.) &lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Java EE (Java Platform, Enterprise Edition)&lt;/b&gt;. The enterprise version  help you develop and deploy portable, robust, scalable, and secure server-side  Java applications. Building on the foundation of Java SE, Java EE provides Web  services, component-model, management, and communications APIs for implementing  enterprise class SOA and Web 2.0 applications.  &lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;"&lt;a href="http://www.ibm.com/developerworks/websphere/library/techarticles/0707_barcia/0707_barcia.html" cmimpressionsent="1"&gt;Get to know Java EE 5&lt;/a&gt;" and "&lt;a href="http://www.ibm.com/developerworks/java/library/j-jee5/" cmimpressionsent="1"&gt;Java EE 5: Power and productivity with less complexity&lt;/a&gt;"  introduce you to the latest version of the Java EE platform.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Check out &lt;a href="http://www.ibm.com/developerworks/views/web/libraryview.jsp?search_by=The+Spring+series" cmimpressionsent="1"&gt;&lt;i&gt;The Spring series&lt;/i&gt;&lt;/a&gt; to learn about a popular  framework for building build lightweight, robust Java EE applications.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;a href="http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=pathfinder:" cmimpressionsent="1"&gt;&lt;i&gt;J2EE pathfinder&lt;/i&gt;&lt;/a&gt; columns add to your knowledge of  Java EE.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;a href="http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=road+J2EE" cmimpressionsent="1"&gt;&lt;i&gt;Getting on the open road&lt;/i&gt;: Migrate to the Java  platform&lt;/a&gt; article series is designed to help developers of .NET, Windows  client/server, and ASP applications make the jump to the Java EE platform.  &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Java ME (Java Platform, Micro Edition)&lt;/b&gt;. Java ME provides an  environment for applications running on a broad range of mobile and embedded  devices, such as mobile phones, PDAs, TV set-top boxes, and printers. The Java  ME platform includes flexible user interfaces, a robust security model, a broad  range of built-in network protocols, and extensive support for networked and  offline applications that can be downloaded dynamically. Applications based on  Java ME specifications are written once for a wide range of devices yet exploit  each device's native capabilities.  &lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Learn more in the comprehensive &lt;a href="http://www.ibm.com/developerworks/edu/j-dw-java-j2me1-i.html" cmimpressionsent="1"&gt;four-part series&lt;/a&gt; of two tutorials and two companion  articles that focus on J2ME and the Mobile Information Device Profile  (MIDP).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Another helpful resource is the two-part tutorial "&lt;a href="http://www.ibm.com/developerworks/edu/wi-dw-wi-smart-i.html" cmimpressionsent="1"&gt;Build smart J2ME mobile applications&lt;/a&gt;."&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-4685128046992521550?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/4685128046992521550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/introduction-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/4685128046992521550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/4685128046992521550'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/introduction-java.html' title='Introduction Java'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-8650729224841279571</id><published>2009-06-03T19:57:00.000-07:00</published><updated>2009-06-13T18:03:34.723-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ Code'/><title type='text'>Multidimensional Arrays</title><content type='html'>&lt;span style="color: rgb(0, 0, 0);"&gt;Sample Code Mutidimensional Arrays:&lt;br /&gt;&lt;br /&gt;#include &lt;iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;#include &lt;iomanip&gt;&lt;/iomanip&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;using &lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;namespace std;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;char &lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;representative&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;][&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;20&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;] &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;{&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"AAAAAAAAAAAA"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"BBBBBBBBBBBB"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;}&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;int &lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;articleCount&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;][&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;5&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;] &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;{ { &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;120&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;151&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;130&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;117&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;144&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;}&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;                            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;{&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;150&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;120&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;190&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;110&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;188&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;}&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;int &lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;main&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;(){&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;   &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;for&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;( &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;int &lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;i=&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;; i &lt; &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;; i++ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;){&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;cout &lt;&lt;&lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"\nRepresentative:  " &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;&lt;&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;i&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;cout &lt;&lt; &lt;/span&gt;&lt;span style="color: rgb(42, 0, 255);"&gt;"\nNumber of items sold: "&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;      &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;for&lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;( &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;int &lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;j = &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;; j &lt; &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;5&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;; j++ &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;         &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;cout &lt;&lt;&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;6&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;) &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;&lt;&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;[&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;i&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;][&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;j&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;cout &lt;&lt;&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;   &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(127, 0, 85);"&gt;&lt;b&gt;return &lt;/b&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;table width="800" border="0"&gt;&lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;img style="width: 423px; height: 137px;" alt="Multidimensional Arrays" src="http://www.java2s.com/Code/CppImages/MultidimensionalArrays.PNG" border="0" /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-8650729224841279571?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/8650729224841279571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/multidimensional-arrays.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/8650729224841279571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/8650729224841279571'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/multidimensional-arrays.html' title='Multidimensional Arrays'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-2734378628416905125</id><published>2009-06-03T17:54:00.000-07:00</published><updated>2009-06-13T17:57:14.573-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C Programming'/><title type='text'>Introduction C#</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;C# (pronounced "C sharp") is a simple, modern, object-oriented, and type-safe programming language. It will immediately be familiar to C and C++ programmers. C# combines the high productivity of Rapid Application Development (RAD) languages and the raw power of C++.&lt;br /&gt;&lt;br /&gt;Visual C# .NET is Microsoft's C# development tool. It includes an interactive development environment, visual designers for building Windows and Web applications, a compiler, and a debugger. Visual C# .NET is part of a suite of products, called Visual Studio .NET, that also includes Visual Basic .NET, Visual C++ .NET, and the JScript scripting language. All of these languages provide access to the Microsoft .NET Framework, which includes a common execution engine and a rich class library. The .NET Framework defines a "Common Language Specification" (CLS), a sort of lingua franca that ensures seamless interoperability between CLS-compliant languages and class libraries. For C# developers, this means that even though C# is a new language, it has complete access to the same rich class libraries that are used by seasoned tools such as Visual Basic .NET and Visual C++ .NET. C# itself does not include a class library.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa645597%28VS.71%29.aspx"&gt;More...&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-2734378628416905125?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/2734378628416905125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/introduction-c_13.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2734378628416905125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2734378628416905125'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/introduction-c_13.html' title='Introduction C#'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-1356673637611245630</id><published>2009-06-02T17:44:00.000-07:00</published><updated>2009-06-14T22:37:55.805-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C Programming'/><title type='text'>Introduction C++ (Download Tutorial Pdf)</title><content type='html'>C++ was developed by Bjarne Stroustrup of AT&amp;T Bell Laboratories in the early 1980's, and is based on the C language. The "++" is a syntactic construct used in C (to increment a variable), and C++ is intended as an incremental improvement of C. Most of C is a subset of C++, so that most C programs can be compiled (i.e. converted into a series of low-level instructions that the computer can execute directly) using a C++ compiler. &lt;br /&gt;C is in many ways hard to categorise. Compared to assembly language it is high-level, but it nevertheless includes many low-level facilities to directly manipulate the computer's memory. It is therefore an excellent language for writing efficient "systems" programs. But for other types of programs, C code can be hard to understand, and C programs can therefore be particularly prone to certain types of error. The extra object-oriented facilities in C++ are partly included to overcome these shortcomings. &lt;br /&gt;&lt;br /&gt;Here is an example of a complete C++ program: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;#include &lt;iostream.h&gt;&lt;br /&gt;                &lt;br /&gt;        int main() &lt;br /&gt;        {&lt;br /&gt;                int year_now, age_now, another_year, another_age; &lt;br /&gt;        &lt;br /&gt;                cout &lt;&lt; "Enter the current year then press RETURN.\n";&lt;br /&gt;                cin &gt;&gt; year_now;&lt;br /&gt;        &lt;br /&gt;                cout &lt;&lt; "Enter your current age in years.\n";&lt;br /&gt;                cin &gt;&gt; age_now;&lt;br /&gt;        &lt;br /&gt;                cout &lt;&lt; "Enter the year for which you wish to know your age.\n";&lt;br /&gt;                cin &gt;&gt; another_year;&lt;br /&gt;        &lt;br /&gt;                another_age = another_year - (year_now - age_now);&lt;br /&gt;                if (another_age &gt;= 0) {&lt;br /&gt;                        cout &lt;&lt; "Your age in " &lt;&lt; another_year &lt;&lt; ": ";&lt;br /&gt;                        cout &lt;&lt; another_age &lt;&lt; "\n";&lt;br /&gt;                }&lt;br /&gt;                else { &lt;br /&gt;                        cout &lt;&lt; "You weren't even born in ";&lt;br /&gt;                        cout &lt;&lt; another_year &lt;&lt; "!\n";&lt;br /&gt;                }&lt;br /&gt;        &lt;br /&gt;                return 0;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.faqs.org/docs/Linux-HOWTO/C++Programming-HOWTO.html"&gt;More...&lt;/a&gt;&lt;br /&gt;&lt;a href="     http://www.ziddu.com/download/5194114/PENGENALANC.pdf.html"&gt;Download Tutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-1356673637611245630?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/1356673637611245630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/introduction-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/1356673637611245630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/1356673637611245630'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/introduction-c.html' title='Introduction C++ (Download Tutorial Pdf)'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-556243118303263165</id><published>2009-06-02T17:37:00.000-07:00</published><updated>2009-06-13T17:44:29.252-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C Programming'/><title type='text'>C  Programming</title><content type='html'>&lt;title&gt;About C&lt;/title&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;As a programming language, C is rather like Pascal or Fortran. Values are  stored in variables. Programs are structured by defining and calling functions.  Program flow is controlled using loops, if statements and function calls. Input  and output can be directed to the terminal or to files. Related data can be  stored together in arrays or structures.&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;Of the three languages, C allows the most precise control of input and  output. C is also rather more terse than Fortran or Pascal. This can result in  short efficient programs, where the programmer has made wise use of C's range of  powerful operators. It also allows the programmer to produce programs which are  impossible to understand.&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;Programmers who are familiar with the use of pointers (or indirect  addressing, to use the correct term) will welcome the ease of use compared with  some other languages. Undisciplined use of pointers can lead to errors which are  very hard to trace. This course only deals with the simplest applications of  pointers.  &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;It is hoped that newcomers will find C a useful and friendly language. Care  must be taken in using C. Many of the extra facilities which it offers can lead  to extra types of programming error. You will have to learn to deal with these  to successfully make the transition to being a C programmer.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://www2.its.strath.ac.uk/courses/c/"&gt;More ...&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-556243118303263165?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/556243118303263165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/556243118303263165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/556243118303263165'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/c-programming.html' title='C  Programming'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2804280462096198771.post-2788784098169418097</id><published>2009-06-01T17:21:00.000-07:00</published><updated>2009-06-13T17:36:56.303-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OOP'/><title type='text'>Introduction OOP</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-weight: bold;"&gt;Object-oriented programming (OOP)&lt;/span&gt; is a programming language model organized  around "objects" rather than "actions" and data rather than logic. Historically,  a program has been viewed as a logical procedure that takes input data,  processes it, and produces output data.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;The concepts and rules used in object-oriented programming provide these  important benefits:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The concept of a data class makes it possible to define subclasses of data  objects that share some or all of the main class characteristics. Called  inheritance, this property of OOP forces a more thorough data analysis, reduces  development time, and ensures more accurate coding.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Since a class defines only the data it needs to be concerned with, when an  instance of that class (an object) is run, the code will not be able to  accidentally access other program data. This characteristic of data hiding  provides greater system security and avoids unintended data corruption.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The definition of a class is reuseable not only by the program for which it  is initially created but also by other object-oriented programs (and, for this  reason, can be more easily distributed for use in networks).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The concept of data classes allows a programmer to create any new data type  that is not already defined in the language itself. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://www.aonaware.com/OOP2.htm"&gt;More info ..&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2804280462096198771-2788784098169418097?l=de-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://de-programmer.blogspot.com/feeds/2788784098169418097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://de-programmer.blogspot.com/2009/06/introduction-oop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2788784098169418097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2804280462096198771/posts/default/2788784098169418097'/><link rel='alternate' type='text/html' href='http://de-programmer.blogspot.com/2009/06/introduction-oop.html' title='Introduction OOP'/><author><name>Bembem</name><uri>http://www.blogger.com/profile/10056018514811091159</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='http://2.bp.blogspot.com/_6cLQjgAuLyI/SjVBpyxnZBI/AAAAAAAAAAU/25MfVr5JloY/S220/DSC04131.JPG'/></author><thr:total>0</thr:total></entry></feed>
