Operator Overloading in C++

Submitted by moazkhan on

Operator Overloading in C++

In this part you will learn: 1. What is Operator Overloading? 2. How Operator Overloading is useful? 3. How to use Operator Overloading in a Program? 4. C syntax What is Operator Overloading? Operator overloading is the way by which we give the already existing operators like +,-,*,/,, etc a new meaning by increasing their actual functionality.

Prototyping in C++

Submitted by Yorkiebar on
Introduction: This tutorial is on how to use Function Prototyping in C/C++. Function File: Here is a basic function file which, after running the 'int main' function, runs a custom function named 'calculate' which returns an integer and is output to the screen.
  1. #include <iostream>

Using Base64 Encryption for PHP APIs

Submitted by Yorkiebar on
Introduction: This tutorial is on how to use encryption to transfer data securely, or at least more seucrely than plain text, from a Visual Basic application (or other source) to a PHP API. Why Cryptography? Cryptography should be used for all sensitive information being used in public release applications, or if the data is sent cross-networks.

MD5 in PHP [Why? How? Explained]

Submitted by Yorkiebar on
Introduction This tutorial is on using MD5 encryption in PHP. Why MD5? MD5 is built in to PHP and is only a one way encryption. This means that even if someone was able to gain access to an encrypted md5 string, called an 'MD5 Hash', it is unlikely they would be able to convert the hash back in to the original plain text string. Decryption: Decryption in most cryptography languages essentially work by using the reverse algorithm to the encryption algorithm used by the cryptography method in question.

Inheritance in C++

Submitted by moazkhan on

Inheritance in C++

In this tutorial you will learn: 1. What is inheritance? 2. What are different types of inheritance? 3. Why to use inheritance? 4. C++ syntax What is inheritance? A form of software reuse in which you create a class that absorbs an existing class’s data and behavior and enhances them with new capabilities.

Arrays as Class Data Member

Submitted by moazkhan on

Arrays as Class Data Member

In this tutorial you will learn: 1. How to make Arrays as Class Data Member? 2. Why to use arrays as attributes of the class? 3. How to make array of objects? 4. C++ syntax Arrays can also be the data members of the class, just like integer, float and other data type integers we can also define an array as the data members. Arrays are used as data members because if the user requires that the object contain a lot of information which is to be saved in the array then he will use array as the data member of the class.