Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is a modifier? C++
What is a modifier? C++
✍: Guest
A modifier, also called a modifying
function is a member function that
changes the value of at least one
data member. In other words, an
operation that modifies the state
of an object. Modifiers are also
known as ‘mutators’. Example:
The function mod is a modifier in the
following code snippet:
class test
{
int x,y;
public:
test()
{
x=0; y=0;
}
void mod()
{
x=10;
y=15;
}
};
2011-12-30, 3203👍, 0💬
Popular Posts:
How To Decrement Dates by 1? - MySQL FAQs - Introduction to SQL Date and Time Handling If you have a...
What are the two fundamental objects in ADO.NET ? Datareader and Dataset are the two fundamental obj...
How To Export Data to a CSV File? - Oracle DBA FAQ - Introduction to Oracle SQL Developer If you wan...
How To Use mysqlbinlog to View Binary Logs? - MySQL FAQs - Server Daemon mysqld Administration If yo...
How To Download and install PSP Evaluation? - PSP Tutorials - Fading Images to Background Colors wit...