Sunday, November 22, 2009

C++ or Java?

C++ or Java...To none IT people this like mean a bit absurd...

But for software developers this would be familiar...The question to ponder is which language to choose...

If you are a systems developer ( that is you develop software like operating systems and drivers ) the choice is to use C++...But if you are a applications developer aiming to achieve a high degree of portability on all platforms the choice is Java...

Fact is performance...C++ performs better than Java but one should know that Java code runs comparably as compiled C++ code...

Those who are interested in developing database applications using Oracle should choose Java because Oracle natively supports Java...

But for those who don't need or aim to develop software for most platforms needs to develop in C++...

Java have limited low level capabilities but C++ through its inline assembler supports low level processor specific code to execute...

So the choice is yours...Both languages are heavily used by programmers...

Thursday, October 29, 2009

Yahoo Geocities closed...

Yahoo closed it's geocities services...

On 26 October 2009 it closed...

:(

Sunday, October 25, 2009

Windows 7 is released...

Microsoft released Windows 7 on the 22nd of this month October...

Windows 7 has several versions than its predecessor Windows Vista...

Some of my photographs taken in the year 2003!!!


Tuesday, October 20, 2009

33 years past....33 years old...33 years gone....

I just became 33 years old...I was born in CE 1976 October 20...

Since 1990 I lived a life of abuse...But I am patient most of the time...My class mates abused me...My parents abused me...My employers abused me...My friends abused me...The girls I liked abused me...

I will write all about this in this blog of mine...

I give thanks to Allah for the favors and knowledge he bestowed on me and also that special intellect of investigation by inference he bestowed on me...Al hamdhu lilaahi rabil aalameen...Praise be to Allah lord of the worlds...

Saturday, October 10, 2009

"Hello World" in Java...

To write this application you will need Sun's Java Development Kit Standard Edition ( JSE ) which is a free download at http://java.sun.com...After installing it into your computer and setting the path environment variable write the following Java source in Notepad:


import javax.swing.JoptionPane;

public class HelloWorld {

public static void main ( String args [] )
{

JOptionPane.showMessageDialog(null"HELLO WORLD!");


}

}


Save it on your desktop as HelloWorld.java

Next open the command prompt and execute the following command: javac HelloWorld.java

One file HelloWorld.class will be created if there are no errors in your source...To run the program type java Helloworld at your command prompt.

Cheers-guestworm

"Hello World" in C++

The following C++ program requires any C++ compiler but I assume it is Microsoft Visual C++ compiler...Microsoft Visual C++ Express edition is a free download from Microsoft.

Open Notepad and write the following source:




Save it to your desktop as hello.cpp and execute the following command at Visual Studio Command Prompt: cl hello.cpp...If there are no errors in the source code two files will be created: hello.obj and hello.exe...To run the program just type hello or hello.exe at your command prompt...

Cheers-guestworm