Relasi Berulang atau Deret Dalam C++

"Om Swastiastu"

Tentunya kalian sudah tidak asing lagi dengan relasi berulang atau deret bilangan. Nah, sekarang kita akan mengimplementasikan relasi berulang atau deret bilangan tersebut kedalam bahasa pemrograman C++. Sebagai contoh awal, saya akan memberikan contoh deret seperti berikut :

S = 2 4 6 8 ... 20

Nah, dalam deret seperti ini kita harus teliti dalam menentukan rumusnya. Hal pertama yang kita cari adalah baris pertama, kedua, dst sampai 10. Dimisalkan baris = i. Nah, setelah mengetahui jumlah baris, selanjutnya adalah mengetahui angka dalam setiap baris. Kita misalkan ini sebagai f(i).

i    = 1   2  3  4  5   6   7   8   9   10
f(i) = 2  4  6  8  10 12 14 16 18  20

Perhatikan bahwa f(i) = 2 * i. Saat dalam program kita ganti f(i) = x, sehingga x = 2 * i. Dan s = s + x. Nah, perhatikan syntax dibawah ini.

#include <iostream.h>
#include <conio.h>
#include <math.h>

void main()
{
 int i = 1;
 int s = 0;
 int x = 0;
Continue Reading »

YouTube Tests New Video Player

A few days after launching a new interface for video pages, YouTube started to test a new video player with more elegant controls and a better-looking progress bar. I think the new player is in line with YouTube's latest redesign: it's cleaner, simpler and easier to use.

As StraightUpSocial shows, controls fade out when you're not interacting with the player, so they're no longer distracting. The player's progress bar becomes smaller when you're not likely to use it, while the volume control is now horizontal.


Here's a video that shows the new player tested by YouTube:



{ Thanks, Jonah and Will. }

Search for TV Shows in Google Video

Google Video has a new filter that restricts search results to TV shows. For example, if you search for [Seinfeld], Google lets you select one of the 9 seasons of the show. Google shows the name of each episode and a list of sites where you can watch it.



Google doesn't restrict the results to sites that are licensed to stream TV shows, so many videos are from Russian sites like Yandex and Smotri.

As you probably noticed, Google Video no longer has the option to play videos inline and Google says that there are no plans to restore it. The feature has been gradually removed from Google web search, for YouTube videos and now it's no longer available.

Shortcuts for Google Translate and Google Dictionary

Here's a quick way to translate text directly from Google Search. Type the language pair, followed by the text you want to translate. For example, to translate "I love you" in French, search Google for: [en:fr love]. You can also type [translate love in french], but this query is longer.


For now, this feature only works for language pairs that include English: en:fr, fr:en (French), en:it, it:en (Italian), en:de, de:en (German), en:es, es:en (Spanish), en:ru, ru:en (Russian), en:zh, zh:en (Chinese), en:ja, ja:en (Japanese), en:ko, ko:en (Korean).

If you use the language pair en:en (English to English), Google shows definitions from Google Dictionary. For example, a search for [en:en astute] shows the definition of the word "astute" and the pronunciation. Google Dictionary uses definitions from Collins COBUILD Advanced Learner's English Dictionary.


You can also search for [astute definition], but the OneBox result shows definitions from WordNet.

Escape Sequence Characters dalam C++

"Om Swastiastu"

Nah, kalian mungkin sudah mempelajari banyak hal tentang C++. Di C++ terdapat beberapa karakter khusus yang penulisannya singkat namun sangat bermanfaat dalam sebuah program. Karakter-karakter khusus ini disebut dengan escape sequence characters.

Nah, berikut adalah escape sequence characters dalam C++ tersebut:

\0  : karakter nol atau karakter ber-ASCII nol.
\a  : untuk membunyikan sound beep
\b  : untuk backspace
\f  : untuk ganti halaman (formfeed)
\n  : untuk membuat barus baru (newline) fungsi sama seperti endl
\r  : untuk kembali ke awal baris atau carriage return
\t  : untuk tab horizontal, fungsi sama ketika kita mengetik di word, lalu menekan tombol tab di keyboard
\v : untuk membuat tab vertikal
\\  : untuk membuat karakter \
\'  : untuk membuat karakter '
\"  : untuk membuat karakter "
\?  : untuk membuat karakter ?
\ooo : untuk karakter yang nilai oktalnya sebanyak tiga digit oktal
\xhh : untuk karakter yang nilai heksadesimalnya sebanyak dua digit heksadesimal

Itulah excape sequence characters dalam C++. Semoga informasi ini bermanfaat bagi kalian semua.

"Om Santhi, Santhi, Santhi, Om"

Membuat Tabel Perkalian SD dengan C++

"Om Swastiastu"

Tutorial C++ kali ini adalah membuat tabel perkalian SD dalam C++. Tentunya kalian pernah melihat poster perkalian yang ditempel ditembok. Bagi yang mempunyai adik yang masih SD pasti tahu poster ini. Nah, sekarang kita akan menerapkan hal tersebut kedalam bahasa pemrograman C++.

Disini kita akan membuat deret perkalian kebawah. Contohnya seperti dibawah ini.

1 x 1 = 1
1x 2 = 2
1 x 3 = 3
dst

Nah, untuk syntax nya, lihat dibawah ini.

#include <stdio.h>
#include <conio.h>
#include <iostream.h>

void main()
{
int a, b;

for (a = 1; a <= 10; ++a)
{
printf("\n");

for (b = 2; b <= 10;++b)
cout<<a<<" x "<<b<<" = "<<a*b<<"\n";
}
getch();
}

"Om Santhi, Santhi, Santhi, Om"

Use Gmail for iPad in Google Chrome

Google has recently released a version of Gmail optimized for iPad, Apple's lightweight computer. Gmail for iPad is similar to the iPhone version, but the main difference is that Gmail has a reading pane.

"We're launching an experimental two-pane user interface to take advantage of its large touchscreen and tablet form factor. Building upon the Gmail for mobile web app, this new interface displays your conversations on the left and your messages on the right hand side."

Here's how to create a Google Chrome shortcut that launches Gmail for iPad:

1. launch Chrome and go to http://mail.google.com

2. create a shortcut by clicking on the page menu and selecting
"create application shortcuts"


3. you'll see a Gmail shortcut on your desktop and you'll need to edit it. If you use Windows, right-click on the shortcut, select "Properties", go to the target field and append a space, followed by this value (a short version of iPad's user-agent and a new Chrome profile):

 --user-agent="Mozilla/5.0(iPad; U; iPhone OS 3_2; en-us) AppleWebKit/531.21.10 Mobile/7B314" --user-data-dir="%tmp%\gmipad"


4. close all Chrome windows and click on the desktop shortcut for Gmail.


Obviously, Gmail for iPad works in other browsers, as well. You only need to change your browser's user-agent to:

Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10

Pengenalan Java - Hello World Dalam Java

"Om Swastiastu"

Ini adalah artikel tutorial java pertama saya, karena ini adalah permulaan, kita mulai dengan dasar-dasar dari pemrograman java saja. Nah, sebenarnya bahasa java ini sangat mirip dengan bahasa C atau C++. Jadi, jika Anda sudah memahami dasar-dasar C++, maka tidaklah sulit untuk memahami dasar-dasar java. Tetapi syntax java disini sedikit lebih panjang, sehingga juga lebih sulit mempelajarinya.

Untuk program pertama, kita cukup membuat hello world dulu. Perhatikan syntax java dibawah ini.

public class hello_world
{
  public static void main(String[] args)
  {
   System.out.println("Hello World");
   System.out.print("Saya Baru Belajar Java");
  }
}

Nah, mari kita simak lebih lengkap mengenai syntax diatas. Kita mulai dari baris pertama. Setiap memulai java selalu dimulai dengan syntax public class. Nah, untuk tulisan berwarna merah, biasanya sering digunakan sebagai judul program, contoh lain misal, luas_segitiga, dan lain sebagainya. Sama seperti C++, setiap membuat class, selalu diikuti dengan kurung kurawal { dan }.

Continue Reading »

Google Dictionary Shows Usage Examples

Google Dictionary has a lot of useful information about English words and expressions. Besides showing synonyms, antonyms, definitions from the dictionary and from the web, related phrases, Google Dictionary added usage examples from Google News.

Google extracts the quotes from news articles and attributes the quotes to their authors. You can find quotes in Google News if you search for the name of a popular person and click on the "Quotes" section (e.g.: Gordon Brown, Steve Jobs). Unfortunately, you can't restrict Google News results to quotes.

Gmail Adds Nested Labels and Message Preview

Gmail Labs has two useful experimental features: hierarchical labels and message preview. If you used Greasemonkey, it's likely that you've tried Folders4Gmail and Mihai Parparita's Conversation Preview, two scripts with similar functionality to the new Gmail Labs experiments.

Nested Labels is just a cosmetic change that lets you create labels which are displayed hierarchically. If you enable this experiment and create a label like Mailing-Lists/Linux, you'll notice that Linux is displayed as a subfolder of Mailing-Lists. Unfortunately, all the other places that let you interact with labels show the label as Mailing-Lists/Linux.

"You can create complex hierarchies of labels if that's the way you like to organize your mail, and you can expand/collapse labels to save space. You'll always be able to tell whether a given label contains unread messages in its collapsed child labels by looking at whether it's bold or not," explains Google.


Message Sneak Peek shows a small preview of a conversation, so you can quickly read the first sentences without opening the conversation. Right-click on a conversation from the inbox or from another view and you should see the first unread message from that conversation. If you've read all messages from a conversation, Gmail shows the last message.

There's also a keyboard shortcut for showing the preview pane for the currently selected conversation: h. You can navigate to the previous/next conversation using k and j or dismiss the pane using Escape.


{ Thanks, Sterling. }

Download Internet Download Manager (IDM) 5.16 Build 3 Full

"Om Swastiastu"

Sekarang ini banyak sekali orang mendownload dengan software download accelator yang digunakan untuk meningkatkan kecepatan download. Nah, untuk itu, saya akan memberikan IDM 5.16 Build 3 + patch agar pengunjung blog ini dapat mendownload file-file besar seperti Visual Studio, dll dengan cepat. Nah, kenapa mesti IDM 5.16 Build 3? Padahal sudah ada versi terbaru dari IDM.

Menurut pengamatan saya, versi ini jauh lebih baik dan enak digunakan. Selain itu, pada versi ini juga tersedia patchnya, sehingga kita bisa memakainya full tanpa batasan waktu. Nah, bagi yang hobby mendownload film, musik, software, dan lain sebagainya. Anda wajib mendownload IDM terlebih dahulu.

Download IDM 5.16 Build 3

DOWNLOAD

"Om Santhi, Santhi, Santhi, Om"

My First Award

"Om Swastiastu"

Hmmmm, setelah mendapatkan 3 award yang ga saya ambil, kali ini award keempat datang dan saya ambil, sehingga ini menjadi award pertama yang saya posting atau dapatkan secara resmi. Award ini saya dapat dari teman saya C I I - P E T H. Thanks yaa Pet.
Terimakasih untuk teman-teman yang sudah memberikan masukan-masukan yang berharga sehingga blog ini dapat bermanfaat dan hingga saat ini bisa mendapatkan yah sedikit banyak pengunjung dari google. Nah, untuk memasang award ini diblog kita, kita juga harus memenuhi syarat wajib dari award ini. Gampang saja kok, caranya lihat dibawah ini:

Nomor 1 kamu hapus, kemudian nomor 2 naik tingkat jadi nomor 1, nomor 3 naik tingkat juga jadi nomor 2 dan seterusnya sampai nomor 9, lalu isi nomor 10 dengan link dan nama blog kita. Isi dengan benar jangan sampai salah lohh !!
  1. Dark Ard Deidara
  2. Coretan Cerita Harian
  3. Akane D'Sila
  4. Ria Nugros
  5. Ichsan Faridz Kusuma
  6. Reza Renaldi
  7. Zerox Falcon
  8. Dunia X Download
  9. C I I - P E T H
  10. IT Programmer
Ketika blog kamu ada di:
Posisi10, jumlah backlink = 1
Posisi 09, jumlah backlink = 5
Posisi 08, jumlah backlink = 25
Posisi 07, jumlah backlink = 125
Posisi 06, jumlah backlink = 625
Posisi 05, jumlah backlink = 3,125
Posisi 04, jumlah backlink = 15,625
Posisi 03, jumlah backlink = 78,125
Posisi 02, jumlah backlink = 390,625
Posisi 01, jumlah backlink = 1,953,125

Jika semua berjalan dengan lancar maka SEO ini akan bekerja dengan sangat baik, maka dari itu kita harus menjalankan tugas ini agar tercipta backlink yang hebat !!! Karena dengan banyaknya backlink yang didapat, otomatis Alexa dan PageRank kita juga makin meningkat!! Eh, maaf, Alexa Rank tentunya semakin mengecil. ^_^

Untuk selanjutnya, Award ini akan saya berikan kepada 5 sahabat yang beruntung untuk dipasang di blog mereka masing-masing:
Selamat kepada sahabat-sahabat yang telah saya pilih. Kalian dapat mengcopy paste artikel ini jika mau. Bagi yang sudah memasang award diatas, silahkan konfirmasi dengan mengomentari artikel ini agar saya bisa tahu siapa saja sahabat yang nantinya mendapatkan award ini.


"Om Santhi, Santhi, Santhi, Om"

Google's Special Result for Suicidal Queries

Google users in the US that type queries like [I want to die], [suicidal thoughts], [suicide methods] will see a special OneBox result that provides the phone number of the National Suicide Prevention Lifeline.


"This is only the second time Google has added such guidance on troubling search terms, Dr. Roni Zeiger, chief health strategist for Google, said in an interview. A few months ago, the search engine began providing a phone number for the national poison control hotline after searches like [poison emergency]," reports the New York Times.

Unfortunately, it's difficult to measure how effective Google's OneBox result is, since there's no link and you can't start the call directly from Google's search result page.

{ Thanks, John. }

More Albums in Picasa Web

I mentioned in some previous posts that Picasa Web Albums has many limitations: even though Google lets you buy up to 16 TB of storage, Picasa Web Albums was limited to 1,000 albums and each album could only include 1,000 photos. To make things worse, Google Buzz creates a new album every time you upload photos.

Google addressed this problem by raising the limit to 10,000 albums, but I'm not sure if that's the right solution.

"We want Picasa Web Albums to be a place you can share and store all your digital photos, regardless of how many you have. We recently made extra storage really affordable, but until now, Picasa Web accounts have been limited to a maximum of 1,000 albums. We heard that you needed more room, and because we want you to keep sharing your photos and posting them to Buzz, we've worked hard to now raise this limit to 10,000 albums."

Google could make these limitations less important by detaching photos from albums. Instead of uploading photos and adding them to a single album, Picasa could use labels to group related photos. Some labels could be created dynamically: place labels, date labels, people labels, while albums could be created manually or using filters.


{ Thanks, Dave. }

Memperkuat Signal Modem USB EVDO ZTE Smart dan Smartfren

"Om Swastiastu"

Akhir-akhir ini, banyak masyarakat yang beralih menggunakan layanan internet dari smart. Selain kecepatannya yang kencang, biaya internet unlimited smart juga terhitung sangat murah. Saya contohnya, saya pertama membeli modem smart ZTE ini ketika awal Desember tahun lalu. Walaupun modemnya cukup mahal, Rp.888.000 + PPN 10% = Rp.977.000. Tetapi setelah memakainya saya tidak menyesal, jika kita pertama membeli modem ZTE smart, maka kita akan mendapat akses unlimited gratis selama 100 hari. Perlu diketahui, ketika pertama membeli dan mendapatkan akses gratis, paket yang diberikan adalah paket platinum. Jadi bayangkan saja, kita bisa menikmati paket kencang itu selama 3 bulan lebih secara gratis! Saat pertama membeli begitu banyak software dan film yang saya download. Bahkan perharinya saya bisa mendownload total puluhan gigabyte software, game dan film serta lainnya!! Sampai-sampai saya sering membeli DVD-R untuk membackup file-file tersebut. Pertengahan Maret lalu, akses 100 hari gratis saya sudah habis, dan untuk pertama kalinya saya mencoba membeli paket Silver dengan kecepatan 512kbps seharga Rp.75.000. Nah, kalau tidak tahu berapa harga paket smart, lihat gambar dibawah ini. Bandingkan dengan operator yang lain mana quality yang bagus, mana quantity yang bagus.
Saya kira kecepatannya akan turun, tetapi tidak, smart tetap kencang, meski tak sekencang yang dulu ketika masih masa gratis 100 hari. Namun, ada sedikit masalah yang kita hadapi ketika menggunakan modem smart. Ketika cuaca jelek atau sedang hujan, maka signal akan sedikit lemod. Atau jika kita berada jauh dari tower smart, akses juga menjadi sedikit lemod. Tetapi itu semua bisa diakali. Setelah beberapa kali mencari-cari di google, akhirnya saya menemukan trik untuk memperkuat signal modem ZTE smart ini. Berikut adalah tips atau trik untuk memperkuat signal smart untuk modem ZTE ini.

Continue Reading »

Chrome Sync for Settings and Autofill Data

A recent Chromium build extended the synchronization feature to settings and autofill data. When you setup Chrome sync, you have to option to only synchronize bookmarks, settings or autofill data. Google stores your data online and links it to a Google account.


For some reason, Chrome settings and autofill data are saved in Google Docs, but the two files can't be shared or exported.


The nice thing about Chrome Sync and other similar services (Opera Link, Mozilla Weave, Google Toolbar) is that you can use any computer and keep your browser's data in sync. Mozilla Weave synchronizes more data: passwords, sessions, browser history, but it's likely that Google will add these features to Chrome. Google could also synchronize extensions and themes.

Cara Menginstall JCreator

"Om Swastiastu"

Nah, jika kalian sudah mendownload JCreator yang saya berikan, ada beberapa hal lagi yang harus kalian lakukan agar kalian bisa lancar mempelajari bahasa pemrograman java. Tahap awal, sebelum mengginstall Java, terlebih dahulu kalian harus menginstall JDK (Java Development Kit) dan Java API Documentation. Kalian bisa memintanya kepada dosen atau asslab atau dapat mendownloadnya sendiri. Nah, untuk mendownloadnya dan menggunakan versi terbaru, kalian bisa mengunjungi halaman resmi java, di http://java.sun.com/javase/downloads/index.jsp

Untuk mendownload JDK, cari tulisan atau klik JDK 6 Update 18 pada halaman download java yang saya berikan diatas. Di sebelah kanannya akan terdapat link tombol download, ikuti saja instruksi yang diberikan, maka kalian akan bisa mendownload JDK ini secara gratis.

Untuk mendownload Java API Documentation, cari tulisan atau klik Java SE Documentation, di sebelah kanannya juga terdapat tombol download, klik dan iktui instruksi yang diberikan dan download secara gratis. Kalian akan menemukan bahwa Java API ini didownload dalam format .zip.

Selanjutnya, install terlebih dahulu JDK yang telah kalian download. Jika sudah, unzip atau extract file Java API Documentation. Buka folder hasil extract tersebut, dan kalian akan menemukan hanya satu folder dengan nama "docs". Copy atau cut folder tersebut, lalu paste dimana kalian menginstall JDK. Tempat default JDK adalah C:\Sun\SDK\jdk1.6.0\. Sehingga, folder "docs" tersebut akan berada di C:\Sun\SDK\jdk1.6.0\docs\.

Continue Reading »

Download JCreator

"Om Swastiastu"

Nah, sebelum mempelajari bahasa pemrograman java, tentunya kalian butuh compiler yang harus kalian gunakan untuk menulis syntax-syntax dari java. Ada banyak compiler untuk java seperti NetBeans, JCreator, Notepad, dan lainnya. Tetapi dikampus, saya menggunakan JCreator versi 3.5. Nah, untuk itu, saya juga akan membagikan JCreator yang sama kepada kalian. Saya telah mengupload JCreator yang diberikan dosen, sehingga kalian bisa mendownloadnya.

Tetapi jangan kuatir dulu, jika kalian ingin menggunakan JCreator versi terbaru, saya juga telah mengupload JCreator versi 5.0 agar kalian dapat mencicipi compiler baru java tersebut.

Lalu, apakah keuntungan menggunakan JCreator? Tentunya banyak. Pertama ukuran compiler ini sangat kecil. Versi terbaru saja baru menginjak angka 8MB. Kemudian JCreator bisa mengcompile dan mengeksekusi syntax sama seperti Borland C++. Hanya kelemahannya, JCreator masih belum bisa digunakan untuk membuat program java secara visual.

Nah, silahkan download JCraetor pada link dibawah ini.

JCreator versi 3.5
JCreator versi 5.0

"Om Santhi, Santhi, Santhi, Om"

Tutorial Pemrograman Java

"Om Swastiastu"

Hi young programmers. Akhirnya, setelah menunggu-nunggu, IT Programmer sekarang bisa memberikan tutorial bahasa pemrograman java. Ya, ini artinya kalian sekarang bisa mempelajari bahasa pemrograman java disini. Tapi tidak untuk hari ini, hari dimana artikel ini saya buat, karena sekarang saya hanya fokus untuk memberikan download compiler dari java dulu. Mungkin lusa saya akan start memberikan materi pemrograman java.

Sama seperti bahasa pemrograman lain yang saya berikan disini, kita juga akan mempelajari java dari titik nol. Tutorial java itu akan saya kemas dalam menu scroll yang bisa kalian lihat disebelah kanan blog ini. Disana terdapat bahasa pemrograman yang telah lebih dulu saya bahas, yaitu C++, SQL, dan VB. Saya sendiri sekarang baru mendapatkan bahasa pemrograman java di semester ini. Jadi mohon maaf apabila saya tidak bisa menerima request pembuatan program java terlebih dahulu. Mungkin next semester saya akan mulai terima request untuk bahasa pemrograman java.

Continue Reading »

Advantages of Database Processing

"Om Swastiastu"

Hi all, today I wanna tell you about the advantage of the database processing. The database approach offers nine clear advantages over alternate data management methods. These advantages are listed and will be discussed below of this paragraph.
  1. Getting more information from the same amount of data
  2. Sharing data
  3. Balancing conflicting requirements
  4. Controlling redundancy
  5. Facilitating consistency
  6. Improving integrity
  7. Expanding security
  8. Increasing productivity
  9. Providing data independence
  1. Getting more information from the same amount of data. The primary goal of a computer system is to turn data into information. In a non-database, file-oriented environment, data often is partitioned into several disjointed systems, with each system having its own collection of files. Any request for information that necessitates accessing data from more than one of these collections can be extremely difficult.
  2. Sharing data. The data of various users can be combined and shared among authorized users, allowing all users access to a greater pool of data. Several users can have access to same piece of data. When one users changes a customer address, the new address immediately become available to all users.
Continue Reading »

Program Exchange Sort Dalam C++

"Om Swastiastu"

Ada banyak program sorting dalam C++. Setelah sebelumnya membahasa mengenai bubble sort, insertion sort, dan selection sort, kali ini kita bahas mengenai program sorting lainnya dalam C++ yaitu exchange sort. Nah, berikut adalah syntax dari exchange sort dalam C++.

#include <iostream.h>
#include <conio.h>

int data[10],data2[10];
int n;

void tukar(int a, int b)
{
 int t;
 t = data[b];
 data[b] = data[a];
 data[a] = t;
}

void exchange_sort()
{
 for (int i=0; i<=n; i++)
 {
  for(int j = (i+1); j<=n; j++)
  {
   if (data [i] > data[j]) tukar(i,j);
  }
 }
}
Continue Reading »

Cara Menginstall Microsoft Visual C++ 2008

"Om Swastiastu"

Setelah kalian mendownload Microsoft Visual C++ atau Microsoft Visual Studio 2008, seperti pada artikel sebelumnya, yaitu cara menginstall Microsoft Visual Basic 2008. Kalian membutuhkan Daemon Tools untuk menginstall Visual C++ 2008 yang bisa kalian download disini. Nah, kemudian mount file Microsoft Visual Studio 2008 yang telah kalian download, maka akan muncul layar seperti gambar dibawah ini.
Nah, setelah muncul layar seperti gambar diatas, kemudian pilih Visual C++ 2008 untuk memulai proses instalasi. Setelah kalian meng-klik Visual C++ 2008, maka akan muncul layar seperti gambar dibawah.

Continue Reading »

Contoh Program Insertion Sort Dalam C++

"Om Swastiastu"

Setelah membahas bubble sort dan selection sort dalam C++, kali ini kita akan melanjutkan program sorting lainnya dalam C++. Program sorting kali ini adalah insertion sort. Berikut adalah syntax dari insertion sort dalam C++ :

#include <iostream.h>
#include <conio.h>

int data[10],data2[10];
int n;

void tukar(int a, int b)
{
 int t;
 t = data[b];
 data[b] = data[a];
 data[a] = t;
}

void insertion_sort()
{
 int temp,i,j;
 for(i=1;i<=n;i++)
 {
  temp = data[i];
  j = i -1;
  while(data[j]>temp && j>=0)
  {
   data[j+1] = data[j];
   j--;
  }
 data[j+1] = temp;
 }
}
Continue Reading »

Labels

Web Search Gmail Google Docs Mobile YouTube Google Maps Google Chrome User interface Tips iGoogle Social Google Reader Traffic Making Devices cpp programming Ads Image Search Google Calendar tips dan trik Google Video Google Translate web programming Picasa Web Albums Blogger Google News Google Earth Yahoo Android Google Talk Google Plus Greasemonkey Security software download info Firefox extensions Google Toolbar Software OneBox Google Apps Google Suggest SEO Traffic tips Book Search API Acquisitions InOut Visualization Web Design Method for Getting Ultimate Traffic Webmasters Google Desktop How to Blogging Music Nostalgia orkut Google Chrome OS Google Contacts Google Notebook SQL programming Google Local Make Money Windows Live GDrive Google Gears April Fools Day Google Analytics Google Co-op visual basic Knowledge java programming Google Checkout Google Instant Google Bookmarks Google Phone Google Trends Web History mp3 download Easter Egg Google Profiles Blog Search Google Buzz Google Services Site Map for Ur Site game download games trick Google Pack Spam cerita hidup Picasa Product's Marketing Universal Search FeedBurner Google Groups Month in review Twitter Traffic AJAX Search Google Dictionary Google Sites Google Update Page Creator Game Google Finance Google Goggles Google Music file download Annoyances Froogle Google Base Google Latitude Google Voice Google Wave Google Health Google Scholar PlusBox SearchMash teknologi unik video download windows Facebook Traffic Social Media Marketing Yahoo Pipes Google Play Google Promos Google TV SketchUp WEB Domain WWW World Wide Service chord Improve Adsence Earning jurnalistik sistem operasi AdWords Traffic App Designing Tips and Tricks WEB Hosting linux How to Get Hosting Linux Kernel WEB Errors Writing Content award business communication ubuntu unik