Sunday, December 7, 2008

Updating Kaspersky Anti-Virus And Kaspersky Internet Security Without Internet Connection

100% taken From http://www.megaleecher.net/Updating_Kaspersky_Offline, thanks to admin of megaleecher.net

If you are stuck without an internet connection and need to update your Kaspersky Anti-Virus 2009 or Kaspersky Internet Security 2009 you can perform an offline update via the inbuilt feature provided by the software or standalone updating utility provided by Kaspersky, I will be sharing two methods for performing offline updates for your Kaspersky products from a local folder.

Update Method#1

For using the first method you will need a computer installed with Kaspersky Anti-Virus 2009/Kaspersky Internet Security 2009 having access to internet, from this computer we will be copying the downloaded updates and then apply them to other computers without internet access, version of products installed on source and target computers should coincide.

  1. Right-click Kaspersky system-tray icon and select Settings as shown below.
  2. Kaspersky Settings
  3. Click on the Update option from the Settings screen.
  4. Kaspersky Update Settings
  5. From the right part of the window click the Settings button and then goto Additional tab.
  6. Enable the checkbox option Copy updates to folder.
  7. Use Browse button to select a different output folder from the default.
  8. click OK to close each window.
  9. Run update so all anti-virus databases updates are copied to your folder of choice selected in Step No. 5 above.
  10. Copy all the files inside the folder selected in Step No. 5 above to target computers or removable media.

Now, to update the target computers follow the steps below:

  1. Right-click Kaspersky system-tray icon and select Settings as shown below.
  2. Kaspersky Settings
  3. Click on the Update option from the Settings screen.
  4. Kaspersky Update Settings
  5. From the right part of the window click the Settings button and make sure Source tab is selected as shown below.
  6. Clear the checkbox Kaspersky Lab’s update servers.
  7. Offline Update Source
  8. Click the Add link
  9. Browse the folder on local or removable disk into which databases and application modules have been previously saved.
  10. Offline Updater
  11. click OK to close each window.
  12. Run the update process.

Update Method#2

The second not so well-known method makes use of an rather unknown official offline updater utility to fetch and save update files locally which can then be used to update Kaspersky installation without internet access.

  1. Download the Kaspersky Update Utility according to your installed program and its version:
  2. Extract files from zip file and Copy the folder to an removable disk.
  3. Double-click and launch the batch file Updater.bat while connected to internet to download required update files.
  4. If you are using the utility for the first time it will download the full update database sizing approx. 32-36 MB and save it to a folder named "Updates" in same folder, to reduce the download time you can try copying all files from "C:\Documents and Settings\All Users\Application Data\Kaspersky Lab\AVP8\Data\Updater\Temporary Files\temporaryFolder" to the Temp folder in update utility application folder (if not there create one).
  5. Let the Updater finish its job until the DOS window disappears.
  6. Check file report.txt in same folder for full report.
  7. All the required update files will be now downloaded to the folder "Updates", You can now update the target machines using the offline update method discussed above pointing the Update location to the folder in removable disk.
  8. Update Folders

Thursday, December 4, 2008

Tipe Data Struct (Structure)

Downloaded from : http://anamichii.blogspot.com , other source code can be downloaded at http://bluebox.himatika.cn

Manfaat tipe data struct pada dasarnya adalah untuk menyimpan paket (sekumpulan) data ke dalam satu buah nama variabel. Kumpulan data tersebut dikumpulkan menjadi satu dan bisa mempunyai tipe data yang bermacam-macam. Saat penamaan struct, biasakan membentuk sebuah kesatuan makna dengan is struct, misalnya jika struct-nya bernama kotak maka isi struct-nya adalah: panjang, lebar, dan luas. Contoh deklarasinya sbb:

struct kotak {
int panjang;
int lebar;
double luas;
};


Contoh di atas menunjukkan bahwa dibuat struct bernama “kotak” dengan isian data panjang, lebar dan luas. Contoh penggunaanya sebagai berikut :

#include <stdio.h>
#include <conio.h>
#include <iostream.h>
struct kotak {
int panjang;
int lebar;
double luas;
};
kotak kotakA;
kotak kotakB;
void main() {
cout<<"Masukkan Panjang kotak A = "; cin>>kotakA.panjang;
cout<<"Masukkan lebar kotak A = "; cin>>kotakA.lebar;
kotakA.luas=kotakA.panjang*kotakA.lebar;
cout<<"Luas kotak A adalah "<<kotakA.luas<<"\n";
cout<<"==================================\n";
cout<<"Masukkan Panjang kotak B = "; cin>>kotakB.panjang;
cout<<"Masukkan lebar kotak B = "; cin>>kotakB.lebar;
kotakB.luas=kotakB.panjang*kotakB.lebar;
cout<<"Luas kotak B adalah "<<kotakB.luas<<"\n"<<"\n";
cout<<"==================================\n";
int diarsir=kotakB.luas-kotakA.luas;
cout<<"Luas Daerah yang Diarsir adalah = "<<diarsir;
getch();
}


Contoh di atas menunjukkan bahwa struct “kotak” dengan isian data panjang, lebar dan luas kemudian dimasukkan kedalam variabel kotakA dan kotakB

Untuk menampung beberapa data, struct biasanya digabungkan dengan Array, misalnya inisialisasinya sebagai berikut :

struct mahasiswa {
int nim;
char nama[20];
float IPK;
} data[5];

Contoh tersebut adalah inisialisasi struct bernama “mahasiswa” dengan isian data nim, nama dan IPK. Sedangkan nama variabelnya adalah data yang dibuat berupa array dengan ukuran 5. Artinya kita akan membuat array untuk menampung data struct mahasiswa sebanyak 5. Konsep biasanya digabungkan dengan array karena logikanya penyimpanan data tidak mungkin hanya menyimpan satu data, tetapi pasti lebih dari satu data, contohnya sebagai berikut :

#include <stdio.h>
#include <conio.h>
#include <iostream.h>
#include <iomanip.h>
struct mahasiswa {
int nim;
char nama[20];
float IPK;
} data[5];
void main() {
int i;
for (i=1;i<=5;i++) {
cout<<"==================================\n";
cout<<"Data Mahasiswa "<<i<<endl;
cout<<"NIM = "; cin>>data[i].nim;
cout<<"Nama = "; gets(data[i].nama);
cout<<"IPK = "; cin>>data[i].IPK;
cout<<"==================================\n";
}
clrscr;
cout<<endl;
cout<<"+================================================================+\n";
cout<<" DAFTAR MAHASISWA TEKNIK INFORMATIKA"<<endl;
cout<<"+================================================================+\n";
cout<<setiosflags(ios::left)<<setw(10)<<"Nomor"
<<setiosflags(ios::left)<<setw(20)<<"NIM"
<<setiosflags(ios::left)<<setw(20)<<"Nama"
<<setiosflags(ios::left)<<setw(20)<<"IPK";
cout<<endl;
cout<<"+================================================================+\n";
for(i=1;i<=5;i++)
{cout<<setiosflags(ios::left)<<setw(10)<<i
<<setiosflags(ios::left)<<setw(20)<<data[i].nim
<<setiosflags(ios::left)<<setw(20)<<data[i].nama
<<setiosflags(ios::left)<<setw(20)<<data[i].IPK<<endl;
cout<<endl;
}
getch();
}

Sunday, November 23, 2008

Membagi uang dalam berbagai pecahan

Semisal kita mempunyai uang sebanyak 140000, maka secara logika uang tersebut jika diurutkan berdasar besar mata uang yang beredar maka akan terdiri dari :
  • 1 lembar uang 100 ribu
  • 2 lembar uang 20 ribu
nah gimana kode programmnya? seperti ini contoh salah satunya :

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

int main()
{
int u_100rb,u_50rb,u_20rb,u_10rb,u_5rb,
u_1rb,u_500,u_200,u_100,u_50,u_25,u_1,
sisa1,sisa2,sisa3,sisa4,sisa5,sisa6,sisa7,
sisa8,sisa9,sisa10,sisa11,sisa12,uang;

cout<<"Masukkan jumlah uang (dalam angka) = ";
cin>>uang;

cout<<endl;
u_100rb = uang / 100000;

sisa1 = uang % 100000;
u_50rb = sisa1 / 50000;

sisa2 = sisa1 % 50000;
u_20rb = sisa2 / 20000;

sisa3 = sisa2 % 20000;
u_10rb = sisa3 / 10000;

sisa4 = sisa3 % 10000;
u_5rb = sisa4 / 5000;

sisa5 = sisa4 % 5000;
u_1rb = sisa5 / 1000;

sisa6 = sisa5 % 1000;
u_500 = sisa6 / 500;

sisa7 = sisa6 % 500;
u_200 = sisa7 / 200;

sisa8 = sisa7 % 200;
u_100 = sisa8 / 100;

sisa9 = sisa8 % 100;
u_50 = sisa9 / 50;

sisa10 = sisa9 % 50;
u_25 = sisa10 / 25;

sisa11 = sisa10 % 25;
u_1 = sisa11 / 1;

cout<<"Hasil pecahan uang anda \n";
if (u_100rb!=0) {
cout<<"ada "<<u_100rb<<" lembar uang seratus ribu rupiah \n";}
if (u_50rb!=0) {
cout<<"ada "<<u_50rb<<" lembar uang lima puluh ribu rupiah \n"; }
if (u_20rb!=0) {
cout<<"ada "<<u_20rb<<" lembar uang dua puluh ribu rupiah \n"; }
if (u_10rb!=0) {
cout<<"ada "<<u_10rb<<" lembar uang sepuluh ribu rupiah \n";}
if (u_5rb!=0) {
cout<<"ada "<<u_5rb<<" lembar uang lima ribu rupiah \n";}
if (u_1rb!=0) {
cout<<"ada "<<u_1rb<<" lembar uang seribu rupiah \n"; }
if (u_500!=0) {
cout<<"ada "<<u_500<<" keping uang limaratus rupiah \n"; }
if (u_200!=0) {
cout<<"ada "<<u_200<<" keping uang duaratus rupiah \n"; }
if (u_100!=0) {
cout<<"ada "<<u_100<<" keping uang seratus rupiah \n";}
if (u_50!=0) {
cout<<"ada "<<u_50<<" keping uang limapuluh rupiah \n";}
if (u_25!=0) {
cout<<"ada "<<u_25<<" keping uang dua lima rupiah \n";}
if (u_1!=0) {
cout<<"ada "<<u_1<<" keping uang satu rupiah \n";}
getch(); }

Mencari bilangan Terbesar & Terkecil di C++

Here is a C++ source code for finding the largest number from n input that you made. Principally only compare that number with the previous number. To find smallest number, simply change the sign > to <

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

int main()
{
int n,i;
double bil, terbesar;
cout << "Masukkan Jumlah Bilangan : "; cin>>n;
terbesar=0;
for (i=1; i<=n; i++)
{
cout << "Bilangan ke "<<i<<" : "; cin>>bil;
if (terbesar < bil)
terbesar = bil;
}
cout << "Bilangan terbesar = " << terbesar << "\n";
getch();
return 0;
}

Friday, October 31, 2008

Get Dollars From the Internet

translated using google translate
Had tried to register google adsense but I accept in? difficult to find money in the Internet, but there are good tips straps, q pass from the site Satria wahono facts taken from this site. All I have now? narsis sites that we willingly spend a day mantengin make nampilin only one page's contents photo's profile, now what do though have a profile narsis all kinds but paid? But this answer: Yuwie.

What is that Yuwie?.

Yuwie is a site of friendship and first, or what's called the Social Networking such as Friendster (the main objective is to get a lot of friends in the world), the difference in Yuwie we can at the same time earn money dollars as we use adsense.

The Yuwie pay us?

The principle is similar to google adsense, they share the profit with which we obtained from the ad, which was installed in the situs2. As the media newspaper ads, here we profile page Just the newspaper ads, well of course we as owners of newspapers (our profile) but I certainly shared money from the ads. Not so.

Payment is on activities that we do. Start from the log, edit a profile, upload photos, send and answer messages, comments, the contents guest book, see the profile of others, searching for friends, join discussion forums, create their own group, fill the blog with topics, and others. Another way is to make a lot of referral, referral is a reference to people involved in the community to join yuwie terserbut.

Wow, how about our income?

Each page is viewed (page view), all of that will be one (1) and will are. For example, 3 people you invite a friend and a friend each of you to invite 3 people also along the 10 level. And they make you click on Yuwie view only 1,000 each month, the calculation:

You § 10% x $ 0.5 = $ 0.05

§ Level 1 10% $ 0.5 x 3x = $ 0.15

§ Level 2 10% x 9 x $ 0.5 = $ 0.45

§ Level 3 10 x 27% x $ 0.5 = $ 1.35

§ Level 4 4 x 81% x $ 0.5 = $ 1.62

§ Level 5 4% x $ 243 x 0.5 = $ 4.86

§ Level 6 4% x $ 729 x 0.5 = $ 14.58

§ Level 7 4% x $ 2,187 x 0.5 = $ 43.74

§ Level 8 4% x $ 6,561 x 0.5 = $ 131.22

§ Level 9 10% x $ 19,683 x 0.5 = $ 984.15

§ Level 10 30% x $ 59,049 x 0.5 = $ 8857.35

Total = $ 10,039.52

Revenue at you Yuwie is determined by how many Page Views that you can be. Details, every time someone opens the page below, it means you get a 1 page view:

* Profile page you
* Blog pages you
* Page view all your friends
* Page view all your comments
* Pages your pictures
* Pages your video pages
* If someone you view the layout of the shared

All our activities in Yuwie also points to get the valuable dollars are:

1. If you do all the activities in the control panel (edit profiles, upload photos / video, send messages, create blogs, add friends, view other people's profiles, and many more others).
2. If you do refferal activities in Yuwie
3. If the profile you seen by the other member (so you create a profile interactive may be).
4. If other people give comment on our profile.
5. If other people see our friend (so later, many people add a friend). Do not confused, you can start from now to add a friend as much as possible.
6. If other people see the photos that we've uploaded.
7. If you change the layout of the profile you!

Mendaftarnya way?

Please log in to this page, http://r.yuwie.com/login_page, (Make sure the correct address)

Then select SIGN UP,

Pendaftaranya form and enter data with you, easy going?

Source: Article by Ilmukomputer.com Renggatama

Tuesday, October 28, 2008

seleksi percabangan dalam c++

dalam c++, dikenal 2 buah seleksi percabangan, yaitu dengan menggunakan if dan case.

contoh 1

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

void main() {

int nilai;
cout<<"Masukkan nilai : ";cin>>nilai;
cout<<endl;
if (nilai>50) {
{
cout<<"Selamat, Anda lulus ...";
}
getch();
}


contoh 2

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

void main() {

int nilai;
cout<<"Masukkan nilai : ";cin>>nilai;
cout<<endl;
if (nilai>50) {
cout<<"Selamat, Anda Lulus...";
}
else {
cout<<"Maaf, Anda gagal...";
}
getch();
}

contoh 3

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

void main() {

int angka;cout<<"Masukkan angka : "; cin>>angka;
cout<<endl;
if ((angka>0)&&(angka<10)) {
cout<<"Anda memasukkan angka antara 1 sampai 9";
}
else {
cout<<"Yang anda masukkan bukan antara 1 sampai 9";
}
getch();
}


contoh 4

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

void main() {

int huruf;cout<<"Masukkan huruf kecil : "; cin>>huruf;
cout<<endl;if ((huruf=="a")||(huruf=="i")||(huruf=="u")||(huruf=="e")||(huruf=="o")) {
cout<<"Anda memasukkan huruf vokal";
}
else {
cout<<"Yang anda masukkan adalah huruf konsonan";
}
getch();
}