ProWebTalk Webmaster Community  

Go Back   ProWebTalk Webmaster Community > Web Design and Development > Programming Discussion > C/C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-21-2009, 11:33 AM   #1 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 6
Function overloading

Overloading refers to the use of the same thing for different purposes. C++ also permits overloading of functions. Thus, one can use the same function name to create functions that perform a variety of different tasks. This is known as the function overloading in OOP.
Ankit Dabda is offline   Reply With Quote
Old 02-25-2009, 06:19 AM   #2 (permalink)
Member
 
Join Date: Feb 2009
Posts: 40
nice but too sort note about function overloading. You can give some detail about it.
asadullah.ansari is offline   Reply With Quote
Old 02-25-2009, 09:03 AM   #3 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 20
In order to overload a function, a different signature should be used for each overloaded version. A function signature consists of the list of types of its arguments as well as their order.
avni is offline   Reply With Quote
Old 02-26-2009, 03:08 AM   #4 (permalink)
Member
 
Join Date: Feb 2009
Posts: 40
By any way compiler make your function by different name on base any schemes it does matter, but finally you will get for all overloaded functions by different name given by compilere. So i did'nt understand waht's the use of overload functions. This is just for shake for user looking faciliy...
asadullah.ansari is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:32 PM.

Dedicated Hosting for this site provided by Versaweb

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0