Tutorials

Interactive Tracker Boxes #3 - Content - jQuery Preparation

Submitted by Yorkiebar on

Introduction:

This tutorial is the third part of my interactive tracker boxes tutorial series which allows content to change dependant upon which tracking box the user clicks on. This part is covering the content of the tracker boxes.

HTML:

The heading for the box which is hovered over will go under the 'informationTitle' CSS ID, and the information will go under the 'informationParagraph' CSS ID.

How to Use Operators Overloading with Arrays in C++

Submitted by PhoeniciansSy on
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:
  1. cl

Interactive Tracker Boxes #2 - CSS

Submitted by Yorkiebar on

Introduction:

This is the second part of my interactive tracker boxes in HTML, CSS, and jQuery. This part will be covering styling the classes of our elements using CSS3.

Box:

The box class will be the holder of the points/trackers where the user is able to hover their mouse over in order to get responsive information about appropriate content. For this, I am going to do a simple small box with white background, and black border...

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...

Toast Notifications in Android Application

Submitted by pavel7_7_7 on
In this tutorial you will find the information about how to use toast notifications in your Android Project. Toast notification is a message that appears in your application window. The size of this notification is exact as needed to show all the information of the message. After it is show, Toast Notification disappears. In the most cases is used to show a short text message. To show the Toast Notification you need to initialize the object of the Toast.

Object-Oriented Programming In C++: Constant Objects

Submitted by PhoeniciansSy on

Contents:

1. Constant Variables.

2. Constant Member Functions.

Constant Variables:

Making variables constant ensures their values are not accidentally changed. Just like the built-in data types (int, double, char, etc…), class objects can be made const by using the const keyword.