Loading

OOP

Submitted by: 
Project Description: Recently I created a simple CMS using CodeIgniter (PHP) and MySQL as database driver.This is my first CodeIgniter project since i started using this framework. In this CMS you can add pages dynamically and add articles on it. NekoCMS also features change of theme using provided CSS files. You can share your posts in Social Media such as Facebook, Twitter and Google Plus...
Submitted by: 
This is a paginator script that will give a delightful and easy pagination for your application. Please download the application and have read the instructions provided on how to use this script. Any query or question will be well accomodated with answers.
Submitted by: 
Introduction: Hello and welcome to a tutorial on Object Oriented Programming, with code examples as opposed to theory. Ready the theory page Before starting this page make sure you have read and understand the theory page which can be found here . Instances The use of OOP is to have multiple instances of one class running at the same time, each with it's own variables and methods. For the...
Submitted by: 
Introduction: Welcome! This page will be explaining Object Oriented Programming with examples. The examples are theory only but a code example will be released soon (if not already). What is Object Oriented Programming? Object Oriented Programming (OOP) is commonly used in programs which require doing the same things over and over again. Much like a function or method can be ran multiple times,...
Submitted by: 
In this tutorial, we will focus on how to improve our PHP code in more dynamic ways using Object Oriented Programming. To start with this application, open first our web directories then look for the index.php file and make a copy of it, and name the old “index.php” into” index_basic.php”. Then inside the includes folder, look for the “member.php” and open it because we’re going to add another...
Submitted by: 
In this tutorial I’m going to show you how to upload photo using PHP/MySQL, and this tutorial is a continuation of our previous topic called Social Networking Site: Simple Uploading of Profile picture in the home page . But in this time we’re not going to use the “home.php” file instead, we’re going to create a new page named “upload_photos.php”. To start in this lesson, first we will create a...
Submitted by: 
We want to implement array class with the following specifications: - range checking. - array assignment. - arrays that know their size. - compare arrays using '==' and '!=' operators. In the next example we will implement a simple class for integers is called Array, it has the previous specifications, and it has the following structure: class Array { friend ostream & operator << (...
Submitted by: 
Time sunset ( 19 , 0 , 0 ) ; // object of type Time Time & dinnerTime = sunset ; // reference to a Time object Defining a reference to an object is equal to defining an alias to this object. We can use the reference in the left side of an assignment, that means we can assign a new value to this reference and change the original object that is referenced. We can write a public member function...
Submitted by: 
1. Introduction. 2. Basic Principles in Operator Overloading. Introduction: Calling function in some classes may be annoying, especially mathematical classes, for example: a = 2 + 3 assign ( a, add ( 2 , 3 ) ) ; In C++ the overloading principle applies not only to functions, but to operators too. - Operators can be extended to work not just with built-in types but also classes. - Operator is used...
Submitted by: 
Friend Function: Is a function that: 1. is not a member of a class. 2. has access to the class's private and protected members. 3. is considered as a normal external function that is given special access privileges. 4. is not in the class's scope. 5. is not called using the member-selection operators (. and –>) unless they are members of another class. 6. is declared by the class that is...

Pages