• Headset for Gamers or Gaming

    He cried to play the game does not mean to make the room noisy. You can imagine how much less comfortable cafe that provides a variety of online games, is very noisy and uncomfortable with the frenetic sound. It would be nice if you use a special headset to play games. Judging will be that, Psyko Audio Labs gush Carbon headset and headset Krypton 5-special speakers to play the game...

  • The Speaker with Cool Design...

    Edifier has recently launched Silver Prisma E3350, 2.1-channel speaker system in the U.S. recently. Edifier E3350 has two satellite speakers with output 9w and drivers magnetically shielded speakers and subwoofer with 32W output pyramidal. Speaker Silver Prism This puts a separate bass control on the back of the subwoofer. The speaker system comes with a remote controller that can display a red LED halo effect and a 3.5mm input jack...

  • Core i7 995X extream Edition has been Released

    Bulldozer processor made by AMD's existence seems to imply its own concerns on the part of Intel's main competitor. So as the real action for any inconvenience during this Intel, AMD's main competitor is making plans to re-release of a new LGA 1366 CPU is better known as the Core i7 Extreme Edition 995X-based 6-core processing and capable of 3.6 GHz. And this plan was reportedly about to be realized into the third quarter of this year 2011...

Twitter

hallo....
kawan - kawan blogger semua ...dan juga para pecinta dunia IT. Postingan saya sebelumnya membahas tentang Apa Itu Bahasa Pemograman C++???, bagi teman - teman sekalian jika hanya membaca dan tidak mempraktekannya maka rasanya kurang malahan kita jadi tidak paham dengan apa yang dipelajari.
jadi, aku sedikiti berbagi nih, contoh Program C++ :

#include "iostream.h"
#include "conio.h"
 void main ()
{
 clrscr ();
 cout << "   Bangun Datar "<< endl ;
 cout << "=================== " << endl << endl ;
 const float PHI = 3.14 ;
 const float S   = 0.5 ;
 int s, t, l, p, d1, d2, r, a ;
 int luas_1, kllg_1, luas_2, kllg_2;
 float  luas_3, kllg_3, luas_4, kllg_4, luas_5, kllg_5 ;

 s  = 4 ;                  // s adalah sisi
 t  = 6 ;                  // t adalah tinggi
 l  = 2 ;                  // l adalah lebar
 p  = 3 ;                  // p adalah pangjang
 d1 = 12 ;                 // d1 adalah diagonal pertama
 d2 = 6 ;                  // d2 adalah diagonal kedua
 r  = 7 ;                  // r adalah jari - jari
 a  = 4 ;                  // a adalah alas

 luas_1 = s * s ;          // luas persegi
 kllg_1 = 4 * s ;          // keliling persegi

 luas_2 = p * l ;            // luas persegi panjang
 kllg_2 = 2 * (p + l) ;      // keliling persegi panjang

 luas_3 = S * a * t ;    // Luas Segitiga
 kllg_3 = s + s + s ;    // Keliling segitiga

 luas_4 = S * d1 * d2 ;    // Luas layang-layang
 kllg_4 = s + s + s + s ;  // Keliling layang - layang

 luas_5 = PHI * r * r ;     // Luas Lingkaran
 kllg_5 = 2 * PHI * r ;     // Keliling Lingkaran

 
 cout << "            |Persegi| " << endl ;
 cout << "            --------- " << endl ;
 cout << "|Sisi     =          " << "4" << "      |" << endl ;
 cout << "|Luas     =          " << luas_1 << "     |" << endl ;
 cout << "|Keliling =          " << kllg_1 << "     |" << endl ;
 cout << "-===========================- " << endl << endl ;


 cout << "         |Persegi Panjang| " << endl ;
 cout << "         ----------------- " << endl ;
 cout << "|Panjang  =          " << "3" << "      |"<< endl ;
 cout << "|Lebar    =          " << "2" << "      |"<< endl ;
 cout << "|Luas     =          " << luas_2 << "      |"<< endl ;
 cout << "|Keliling =          " << kllg_2 << "     |"<< endl ;
 cout << "-===========================- " << endl << endl ;

 cout << "            |Segitiga| " << endl ;
 cout << "            ---------- " << endl ;
 cout << "|Alas     =          " << "4" << "      |"<< endl ;
 cout << "|Tinggi   =          " << "6" << "      |"<< endl ;
 cout << "|Luas     =          " << luas_3 << "     |"<< endl ;
 cout << "|Keliling =          " << kllg_3 << "     |"<< endl ;
 cout << "-===========================- " << endl << endl ;

 cout << "         |Layang - layang| " << endl ;
 cout << "         ----------------- " << endl ;
 cout << "|Diagonal 1 =        " << "12" << "     |"<< endl ;
 cout << "|Diagonal 2 =        " << "6" << "      |"<< endl ;
 cout << "|Sisi       =        " << "4" << "      |"<< endl ;
 cout << "|Luas       =        " << luas_4 << "     |"<< endl ;
 cout << "|Keliling   =        " << kllg_4 << "     |"<< endl ;
 cout << "-===========================- " << endl << endl ;

 cout << "           |Lingkaran| " << endl ;
 cout << "           ----------- " << endl ;
 cout << "|Jari - Jari =       " << "7" << "      |" << endl ;
 cout << "|Luas        =   " << luas_5 << "     |" << endl ;
 cout << "|Keliling    =    " << kllg_5 << "     |" << endl ;
 cout << "-===========================- " << endl << endl ;

}

Waktu telah berlalu hingga sayapun tidak merasakannya dan akhirnya blog ini terasingkan alias tidak lagi dipedulikan, tetapi kali ini blog dengan nama mandaipc ini atau dengan alamat http://www.mandaipc.web.id  ini akan bangkit dengan informasi dari dunia IT yang selalu Up To Date.

Blog ini insyaallah akan menjadi besar...amin...

Yang diatas adalah sedikit statement yang akan membawa mandaipc bangkit, dan sekrang pada tulisan/postingan kali ini saya akan membahas tentan Bahasa Pemograman C++.

C++ adalah bahasa pemograman atau bisa dibilang C++ hanya keturunan dari bahasa pemograman C.
contoh sedikit dari bahasa pemograman C++ :

#include 
  void main ()
 {
  cout << "aku suka C++" << endl ;
 }

What is MySQL?
MySQL is one type of database server that is very famous for its popularity due to MySQL using SQL as the language basis to access the database. In addition, it is Open Source (you do not have to pay to access them) on various platforms (except for type enteprize, which is commercial).MySQL including the type of RDBMS (Relational Database Management System), which is why the term table, columns, and rows are used in MySQL. In MySQL, a database containing one or more columns and rows contain multiple columns, the term table, rows, and columns can be seen from the practice later ... ..!!!.

Preparation:- The first computer already exists mysql- Be careful.

1. Set the root password
The command to give the password is:
Mysqladmin-uroot password [name of the password]
Example:
Mysqladmin-password uroot mandai

2. Opening MySQL from dosOpen up the dos and typing this command:
Mysql-u root-p
And as it appears
Enter password:
Enter your password you provided.
3. Creating a database
how to create a database by typing the following command:
mysql> create database [database name];
For example:
mysql> create database smk_labor;

4. Enabling a database that was createdEnter this query command:
Mysql> use [database name]
Example:
Mysql> use smk_labor;Database changed
The word changed this database is a message that means that you have enabled database that you created.

5. How to view a list of tables
Typing the command beriku:
Mysql> show tables from mysql;
So this command will display a list of mysql table

6. How to create table to database
The syntax or command such as:
Mysql> create table [table name] ([Column a] [type] [width],[Column b] [type] [width],... ... ... ... ... .... ... ....,[Column n] [type] [width]);Remember a command that has been completed typed must end with a semicolon [;]Example:
Mysql> create table teacher (nip char (5) not null,name varchar (35) not null,gender enum ('p', 'w')religion varchar (15) not null,);Query ok, o rows affected (0:36 sec)
After that you can still see a series of tables that you can do:By typing the command
Mysql> desc teachers;
Then he will display a table of teachers along with the circuit.

7. Using alter command
Here is perintag ddI alter command used to perform a design change table to table with the new structure.
Type the following command:
Mysql> alter table [table name]Change [data yanga ingiin modified]Query ik, 0 rows affected (0.70 sec)
Example:
Mysql> alter table teacherChange expertise graduates varchar (1 -) not null;Query ik, 0 rows affected (0.70 sec)
So the field name will be changed to graduate skills.
8. Entering data into tablesType the following command:
Mysql> insert into [table name] ([column a, column b, column n]) values ​​([isi_kolom a, isi_kolom b, ... ..., isi_kolom n]);


Example:
Mysql> insert into teacher (nip, name, sex, religion)Values ​​('10023 ',' mind ',' male ',' Islam ');Query ik, 0 rows affected (0.70 sec)
9. Command to see tables
The following table meliha command
Mysql> SELECT * FROM [table name];
Example:
Mysql> select * from teachers
The purpose of this star symbol is a table showing all the contents from nip to graduate.
If you want to show both the name and religion only data type the following command:
Mysql> SELECT [column a, column b] from [table name];
Example:
Mysql> select name, religion from a teacher;


10. Delete the contents table
The following command syntax:
Mysql> delete from [table name] WHERE [column / content you want to delete]
Example:
Mysql> delete from teachers' WHERE field = 'name';Query ik, 0 rows affected (0.70 sec)


Thus the command - the command query that I know ... ..Hopefully you can do it themselves ...

  • Port 80, Web Server This port usually used for web servers, so when users type the IP address or hostname in the web browser then the web browser will see the IP they will be on port 80
  • Port 81, Web Server : Alternative when port 80 blocked the port 81 will be used as an alternative port hosting website 
  •  
    • Port 21, FTP Server When someone is accessing an FTP server, then by default the ftp client will connect through port 21 to ftp server
    • Port 22, SSH Secure Shell This port is used for the SSH port
    • The port 23, Telnet If you are running a telnet server so this port used for connection with telnet client telnet server
    • Port 25, SMTP (Simple Mail Transport Protocol) When someone sends an email to your SMTP server, then the port is in use is port 25
    • Alternate SMTP Server Port 2525 is the port active alternatifi from TZO for menservice email forwarding. This port is not standard ports, but can diguunakan when exposed blocks smtp port.
    • Port 110, POP Server If you run a mail server, users will typically log into the machine via POP3 (Post Office Protocol) or IMAP4 (Internet Message Access Protocol) to receive their email, POP3 is a protocol for accessing mail box
    • Port 119, News (NNTP) Server 
    • Port 3389, Remote Desktop This port is for remote desktop on WinXP
    • Port 389, an LDAP Server LDAP or Lightweight Directory Access Protocol is Becoming popular for Directory access, or Name, Telephone, Address directories. For Example LDAP: / / LDAP.Bigfoot.Com is a LDAP directory server.
    • Port 143, IMAP4 Server IMAP4 or Internet Message Access Protocol is Becoming more popular and is Used to retrieve Internet Mail from a remote server. It is more disk intensive, since all messages are stored on the server, but it allows for easy online, offline and disconnected use.
    • Port 443, Secure Sockets Layer (SSL) Server When you run a secure server, SSL Clients wanting to Secure server connects to your will from the connect on port
    •  Port 443. This port needs to be open to run your own Secure Transaction Server. Port 445, SMB over IP, File Sharing Weaknesses windows which open these ports. This port usually used as a port, including printer sharing file sharing, the port is easily inserted inin viruses or worms and the like
    • Ports 1503 and 1720 Microsoft NetMeeting and VOIP MS NetMeeting and other VOIP allows you to host an Internet call or videoconference with other 16. NetMeeting or VOIP users.
    • Port 5631, PCAnywhere When a PCAnywhere server is set up to receive remote requests, it listens on TCP port 5631. This allow you to run a PCAnywhere host and use the Internet to the connect back and remotely control your PC.
    • Port 5900, Virtual Network Computing (VNC) When you run the VNC server to remotely control your PC, it uses port 5900. VNC is useful if you wish to remotely control your server.
    • Port 111, Portmap  
    • Port 3306, Mysql  
    • Port 981/TCP