Tutorials
Object-Oriented Programming In C++: Friend Function
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
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
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
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
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.Object-Oriented Programming In C++: Destructor
Contents:
1. Destructor.
2. When Constructors and Destructors are Called.
Destructor
Is a member function in the class, which has the following characteristics: 1. It has the same name as the class preceded with a tilde '~'. For example, the destructor for class Time is declared:~Time()
2. It doesn't return any type.
3. It is called when objects are destroyed to release all allocated resources.
4.Using Google Maps in your Android program
In this tutorial you will find information about how to use Google Maps in your Android programs.