Aug 26 2009

Hello World

Category: C Programmingadmin @ 7:25 pm

C is one of the most popular programming languages. It is widely used on many different software platforms, and there are few computer architectures for which a C compiler does not exist. C has greatly influenced many other popular programming languages, most notably C++, which originally began as an extension to C

/* Program 1.0 My Very First C Program - Displaying Hello World */
#include<stdio.h>
main()
{
      printf("Hello World!\n");
}

Tags: , ,


Jul 19 2009

nLite

Category: Newsadmin @ 12:22 am

Have you ever wanted to remove Windows components like Media Player, Internet Explorer, Outlook Express, MSN Explorer, Messenger…

How about not even to install them with Windows ?

nLite is a tool for pre-installation Windows configuration and component removal at your choice. Optional bootable image ready for burning on media or testing in virtual machines.

With nLite you will be able to have Windows installation which on install does not include, or even contain on media, the unwanted components. Continue reading “nLite”

Tags: , , , ,


Jul 17 2009

Flow Statements-If & Switch

Category: Javaadmin @ 10:31 pm

  • If
public class flow1
{
	public static void main(String[] args)
	{
	int x=15;
	if (x&gt;10)
		{
			System.out.println("x is grater than 10 ");
			System.out.println(x&gt;10);
		}
	else
		{
			System.out.println("x is not grater than 10");
			System.out.println(x&gt;10);
		}
	}
 
}

Result
x is grater than 10
true

  • Switch
public class flow2
{
		public static void main(String[] args)
		{
			int x=2;
			switch (x)
			{
				case 1:
					System.out.println("You have selected num 1");
					break;
				case 2:
					System.out.println("You have selected num 2");
					break;
				case 6:
					System.out.println("You have selected num 6");
					break;
				default:
					System.out.println("You haven't selected any num");
 
			}
 
		}
}

Result

You have selected num 2

Tags: , , , ,


« Previous PageNext Page »