What is Increment and Decrement Operators

Increment and Decrement Operators C++ provides two Unary Operators for incrementing and decrementing variables values by 1. Increment Operator ++ Decrement Operator  — These Operators operate on one Operand and used in two modes. 1)      Postfix Mode 2)      Prefix Mode Postfix Mode: When increment and Decrement operator appear after the operands, the corresponding operation is called Postfix Increment and Postfix Decrement. Postfix increment and decrement are performed on the basis of...
Continue reading »

How to create a Test Table in MySQL

Go to the Windows Start menu, choose Run, type  mysql -u root -p, and press Enter. The program will then prompt you for the password.           When the MySQL, Monitor starts, it provides its own prompt. At this prompt (mysql>), you type commands used to create tables, explain tables, insert data, select data, and so on. Get used to ending your commands with a semicolon (;)  because it’s...
Continue reading »

How to Testing your MySQL Installation

When using MySQL with PHP, you’ll issue the same types of commands, only within the context of the PHP code.   Starting MySQL To start MySQL manually,  go to the Windows Start menu, choose Run, type c:\Program Files\MySQL\MySQL Server 5.6\bin\mysql-nt.exe And press Enter.   The MySQL process will now be running in the background. you can now connect to MySQL and create database and tables.   Creating a Test Database Before going any further, you...
Continue reading »

How to use conditional operator in c++.

Conditional Operator The conditional operator is also called Ternary Arithmetic Operator as it takes 3 Operands. We can use the conditional operator to create short expression that works like if/else statements. The operator consists of the question-mark (?) and the colon (:). The syntax is given below: Syntax: Conditional expression? True expression: False expression Example:             a < 0 ? b = 100 : c = 200 ;                                 It works like If-Else...
Continue reading »

How to Installing and Configuring MySQL

MySql is the database of choice for a vast majority of Web developers who use PHP, because of its efficiency and ease of use. Plus, MySQL is free and runs on multiple platforms, and its documentation sis superb. When using MySQL and PHP, it’s easiest to install MySQL first, because during the PHP installation and configuration processes, you must tell the PHP configuration script that you plan to use MySQL, in order to activate...
Continue reading »

A Brief History of PHP.

In 1994, an incredibly forward-thinking man named Rusums Lerdorf developed a set of tools that used a parsing engine to interpret a few macros here and there. They were not extravagant : a guest book, a counter, and some other ” home  page” elements that were cool when the Web was in its infancy. He eventually combined these tools with a form interpretation (FI) package he had written, added some database...
Continue reading »

What is PHP ?

Its official name is PHP : Hypertext Preprocessor, and it is a server-side language. When your Web browser accesses a URL, it is making a request to a web server. When you request a PHP page, something like http://www.yourcompany.com/home/php, the Web server wakes up the PHP parsing engine and says, ” Hey ! you’ve got to do something before I send a result back to this person’s Web browser.” Then the...
Continue reading »

Function of Operating System.

We don’t have to bother about ‘where’ and ‘how’ the Data has to be ‘stored’ in the memory. It also keeps the track of the currently used memory and allocates new memory for the data to be used. Job Scheduling Functions: The Operating System undertakes the Job Scheduling Functions. If multiple tasks are there, it schedules the jobs according to their priority and keeps track of which task/work is to be...
Continue reading »