Browsing articles from "December, 2008"
Dec
31
2008

HAPPY NEW YEAR :)

BYE BYE 2008 WELCOME 2009 HAPPY NEW YEAR

Dec
28
2008

C++ Program for Bubble sort

C++ Program for Bubble sort. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program for Bubble sort ***************************************************************/ #include&lt;iostream.h&gt; #include&lt;conio.h&gt; void main() { int array[100],n,i,j,temp; clrscr(); cout<<"How many numbers–> "; cin>>n; cout<<"Enter "<<n<<" numbers\n"; for(i=0;i<n;i++) cin>>array[i]; for(i=0;i<n;i++) { for(j=0;j<n-1;j++) if(array[j]>array[j+1]) { temp=array[j]; array[j]=array[j+1]; array[j+1]=temp; } } cout<<"\nArray is sorted in ascending order.\n"; for(i=0;i<n;i++) cout<<array[i]<<" "; getch(); }

Dec
28
2008

C++ Program Program for Binary Search.

C++ Program Program for Binary Search. /************************************************************** Author: Arun Vishnu M V Web: www.arunmvishnu.com Description: C++ Program Program for Binary Search. ***************************************************************/ #include&lt;iostream.h&gt; #include&lt;conio.h&gt; #include&lt;process.h&gt; void main() { int ar[100],beg,mid,end,i,n,search; clrscr(); cout<<"How many numbers in the array: "; cin>>n; cout<<"Enter "<<n<<" numbers in ascending order –> "; for(i=0;i<n;i++) cin>>ar[i]; beg=0; end=n-1; cout<<"Enter a number to search: "; cin>>search; while(beg<=end) { mid=(beg+end)/2; if(ar[mid]==search) { cout<<"\nItem found at position "<<(mid+1); getch(); exit(0); } if(search>ar[mid]) beg=mid+1; else end=mid-1; [...]

Dec
25
2008

Patambi

Reaching patambi. I hate that place… Hmm

Dec
22
2008

2008: I think I had a bad year

December 19th, I was trying to watch a movie. No..no  mood for that. Hmm.2008. only few more days for the New Year.  So.. This is the time to look back and .. actually this year I don’t have any memorable happy moments.. but i have a lot of memorable moments. Some of them was the wonderful moments of my life. But now it is hurting.  January and feb.. a mix of good and bad things. [...]

Dec
6
2008

Is the Official Web site of the Department of General Education , Kerala Hacked?

It seems like the official web site of the Department of General Education , Government of Kerala is hacked. Today i was checking the website and noticed a news “Hacked by the. Mo3tafa , Sha2ow” in the hot news box. The news content is just “tHe.Mo3tafA Was Here !!! Your Box 0wn3d By Deface Team We Love Iran Ashiyane Digital Security Team Special Thanks to Ashiyane Defacers & Programmers Team www.ashiyane.org/forums I Don’t Know Any [...]

Archives

Highslide for Wordpress Plugin