Object-Oriented Programming In C++: Friend Function

Submitted by PhoeniciansSy on

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 granting access. We can define a friend function anywhere in the class declaration.

Object-Oriented Programming In C++: Objects Composition

Submitted by PhoeniciansSy on
In real-life, complex objects are often built from smaller, simpler objects. You are built from smaller parts: a head, a body, some legs, arms, etc ... This process of building complex objects from simpler ones is called object composition. Composition is used for objects that have/has a relationship to each other. A house has a door, has a roof, has a balcony. C++ allows us to do object composition in a very simple way by using classes as member variables in other classes.

Interactive Tracker Boxes #1 - HTML

Submitted by Yorkiebar on

Introduction:

This tutorial is on how to create an interactive CSS & JavaScript (jQuery) page where the user is able to hover over certain elements of the page in order to uncover more information (such as the Bing.com search page, where you can hover over the boxes on the image to see interesting facts).

HTML:

This is the first part of this tutorial series, in which we will be creating the HTML and starting CSS for the page. We want to have a title and paragraph for each piece of information on the website, so lets create the basic HTML template first...

Learning More About Functions

Submitted by Muzammil Muneer on

Learning More about Functions

In this part you will learn: 1. C syntax 2. Functions 3. Function Calling 4. Function definition 5. Function prototype 6. Recursive Functions 7. Showing output

What is Recursion?

Recursion is a process of repeating of items in a self-similar way. A recursive function is a function that calls itself and this technique is known as recursion in C programming.

Contact Form

Submitted by Pandeyjibanaraswale on
We Designed This Cool Form For Multi Purposes Also Included Validating email in our HTML form. In this Form we have Included JavaScript That Validates Html Form Both Email.. If You Enter Two Different Email Javascript Alert Will Pop Up For Matching Email Notice..download source code with files & enjoy

Introduction to Functions

Submitted by Muzammil Muneer on

Introduction to Functions

In this part you will learn: 1. C syntax 2. Functions 3. Function Calling 4. Function definition 5. Function prototype 6. Showing output

What is a Function?

In C, a function is a group of statements that together performs a task. Every C program has at least one function called the ‘main()’ function. It is the heart of the program. Functions divide your code into separate small parts so that the code is easier to understand and easier to write. Each function performs a specific task based on its usage.

Move Line in Java using Swing Components, JPanel, JFrame and Graphics

Submitted by Mzweh on
Move Line in java using swing components, JPanel,JFrame and Graphics. This is a Java small program that I created on jGRASP but it is possible to open it on Notepad++, notepad, jCreator and other softwares for java. Move Line either left or right by clicking on the respective button or direction key on keyboard. The display consists of two JPanels in a JFrame, arranged using BorderLayout. The top

Save Items from TextBox to ListView in C#

Submitted by Mzweh on
Save items from textbox to listView in c#. This is a small tutorial it will show you how to save items from textbox to rich text listView. Here I have four buttons. 1. Savebtn 2. Updatbtn 3. Addnewbtn 4. Cancelbtn All these buttons are working correct what you must do just download the file and debug it on your computer. It a simple program. It was of the questions on my assignment. If you have