Home
This Week
Top Month
Top Alltime
Search
Register
FAQ
Submit Your Link
Please login to submit your Link
C++ Friend Functions
Posted:
Oct/08/2009
By:
Guru
Points:
15
Category:
C/C++/VC++
-
C++
Views:
154
Vote Up
(0)
Vote Down
(0)
In this C++ tutorials, you will learn about friend functions, need for friend function, how to define and use friend function and few important points regarding friend function, explained with example.
View Complete Post
Comments:
Be the first to comment this post.
Post Comment
Please login to post your comment
More Related Resources
Functions Tutorial
Using functions we can structure our programs in a more modular way, accessing all the potential that structured programming can offer to us in C++.
A function is a group of statements that is executed when it is called from some point of the program. The following is its format:
type name ( parameter1, parameter2, ...) { statements }
C++ Static Functions
Static member functions have a class scope and they do not have access to the 'this' pointer of the class. When a member is declared as static, a static member of class, it has only one data for the entire class even though there are many objects created for the class. The main usage of static function is when the programmer wants to have a function which is accessible even when the class is not instantiated.
C++ Virtual Functions
Virtual, as the name implies, is something that exists in effect but not in reality. The concept of virtual function is the same as a function, but it does not really exist although it appears in needed places in a program. The object-oriented programming language C++ implements the concept of virtual function as a simple member function, like all member functions of the class.
Static Functions - An Introduction
The static member functions have a class scope and they do not have access to the 'this' pointer of the class. When a member is declared as static that is a static member of class have only one such data for the entire class even though there are many objects created for the class. The main usage of static function is when the programmer wants to have a function which is accessible even when the class is not instantiated.
C++ Inline Functions
In this C++ tutorial, you will learn about Inline function, what is inline function, reason for the need of inline function, what happens when an inline function is written, general format of inline function explained with example.
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
Forgot password
Contact Us
Terms Of use
Share your knowledge